The main content of my blog mcol.xyz
git clone https://mcol.xyz/code/mcol.xyz
Log | Files | Refs

commit 86b2d87489ad28a6d90708a22054e710a23a80ce
parent 79d9c94d4f3f5a55f586b38ac97ad7a5038acf4c
Author: mcol <mcol@posteo.net>
Date:   Wed, 19 Aug 2020 01:00:08 +0100

migrate to new simple theme

Diffstat:
Acontent/avatar.png | 0
Acontent/icons/email.png | 0
Acontent/icons/git.png | 0
Acontent/icons/github.png | 0
Acontent/icons/home.png | 0
Acontent/icons/liberapay.png | 0
Acontent/icons/mastodon.png | 0
Acontent/icons/onion.png | 0
Acontent/icons/rss.png | 0
Dcontent/pages/about.rst | 31-------------------------------
Acontent/pages/blogroll.rst | 7+++++++
Rcontent/notes/foss/bye_gitea_hello_cgit.rst -> content/posts/foss/bye_gitea_hello_cgit.rst | 0
Rcontent/notes/foss/extend_ranger_with_git_bindings.rst -> content/posts/foss/extend_ranger_with_git_bindings.rst | 0
Rcontent/notes/foss/mpop_msmtp.rst -> content/posts/foss/mpop_msmtp.rst | 0
Rcontent/notes/foss/pelican_minify_fontawesome.rst -> content/posts/foss/pelican_minify_fontawesome.rst | 0
Rcontent/notes/foss/python_wallpaper_setter.rst -> content/posts/foss/python_wallpaper_setter.rst | 0
Rcontent/notes/foss/qtile_borders_and_pixmaps.rst -> content/posts/foss/qtile_borders_and_pixmaps.rst | 0
Rcontent/notes/foss/quick_n_dirty_permissions_container.rst -> content/posts/foss/quick_n_dirty_permissions_container.rst | 0
Rcontent/notes/foss/rewritefs.rst -> content/posts/foss/rewritefs.rst | 0
Rcontent/notes/foss/ricing_early_userspace.rst -> content/posts/foss/ricing_early_userspace.rst | 0
Rcontent/notes/foss/ubuntu_touch_pinephone.rst -> content/posts/foss/ubuntu_touch_pinephone.rst | 0
Rcontent/notes/foss/ubuntu_touch_pinephone_full_day.rst -> content/posts/foss/ubuntu_touch_pinephone_full_day.rst | 0
Rcontent/notes/foss/xonsh_first_impressions.rst -> content/posts/foss/xonsh_first_impressions.rst | 0
Rcontent/notes/privacy/onion_location_headers.rst -> content/posts/privacy/onion_location_headers.rst | 0
Rcontent/notes/privacy/tor_newsboat.rst -> content/posts/privacy/tor_newsboat.rst | 0
Rcontent/notes/privacy/tor_vpn_nftables_killswitch.rst -> content/posts/privacy/tor_vpn_nftables_killswitch.rst | 0
Rcontent/notes/raspberrypi/git_backups.rst -> content/posts/raspberrypi/git_backups.rst | 0
Rcontent/notes/raspberrypi/pi_home_music_system.rst -> content/posts/raspberrypi/pi_home_music_system.rst | 0
Mpelicanconf.py | 39++++++++++++++++++---------------------
29 files changed, 25 insertions(+), 52 deletions(-)

diff --git a/content/avatar.png b/content/avatar.png Binary files differ. diff --git a/content/icons/email.png b/content/icons/email.png Binary files differ. diff --git a/content/icons/git.png b/content/icons/git.png Binary files differ. diff --git a/content/icons/github.png b/content/icons/github.png Binary files differ. diff --git a/content/icons/home.png b/content/icons/home.png Binary files differ. diff --git a/content/icons/liberapay.png b/content/icons/liberapay.png Binary files differ. diff --git a/content/icons/mastodon.png b/content/icons/mastodon.png Binary files differ. diff --git a/content/icons/onion.png b/content/icons/onion.png Binary files differ. diff --git a/content/icons/rss.png b/content/icons/rss.png Binary files differ. diff --git a/content/pages/about.rst b/content/pages/about.rst @@ -1,31 +0,0 @@ -about this website -================== - -:save_as: about.html -:template: blogroll - -This blog is a place for me to jot down and share my experiences and notes on -free and open source software projects I create or stumble upon, on -programming, and about digital freedom and privacy. Some of main interests are -self-hosting, window managers (I use Qtile_), and anything to do with ricing_. - -I maintain this website for fun, but also want to support and encourage others -to use personal websites as an independent and decentralised means to share -ideas and communicate. - -Feel free to reach out to me! I can usually be found hanging around on mastodon -at `@mcol@fosstodon.org <https://fosstodon.org/@mcol>`_, mcol on IRC or you can -email me at :code:`mcol` at :code:`posteo.net` [`pgp key`_]. - -Appreciate some of my code or blog posts and want to buy me a beer? I am on -`Liberapay <https://liberapay.com/mcol/donate>`_. - - -blogroll --------- - -*in random order* - -.. _`pgp key`: {static}/static/pub.asc -.. _Qtile: https://qtile.org -.. _ricing: https://wiki.installgentoo.com/wiki/GNU/Linux_ricing diff --git a/content/pages/blogroll.rst b/content/pages/blogroll.rst @@ -0,0 +1,7 @@ +Blogroll +======== + +:save_as: blogroll.html +:template: blogroll + +*in random order* diff --git a/content/notes/foss/bye_gitea_hello_cgit.rst b/content/posts/foss/bye_gitea_hello_cgit.rst diff --git a/content/notes/foss/extend_ranger_with_git_bindings.rst b/content/posts/foss/extend_ranger_with_git_bindings.rst diff --git a/content/notes/foss/mpop_msmtp.rst b/content/posts/foss/mpop_msmtp.rst diff --git a/content/notes/foss/pelican_minify_fontawesome.rst b/content/posts/foss/pelican_minify_fontawesome.rst diff --git a/content/notes/foss/python_wallpaper_setter.rst b/content/posts/foss/python_wallpaper_setter.rst diff --git a/content/notes/foss/qtile_borders_and_pixmaps.rst b/content/posts/foss/qtile_borders_and_pixmaps.rst diff --git a/content/notes/foss/quick_n_dirty_permissions_container.rst b/content/posts/foss/quick_n_dirty_permissions_container.rst diff --git a/content/notes/foss/rewritefs.rst b/content/posts/foss/rewritefs.rst diff --git a/content/notes/foss/ricing_early_userspace.rst b/content/posts/foss/ricing_early_userspace.rst diff --git a/content/notes/foss/ubuntu_touch_pinephone.rst b/content/posts/foss/ubuntu_touch_pinephone.rst diff --git a/content/notes/foss/ubuntu_touch_pinephone_full_day.rst b/content/posts/foss/ubuntu_touch_pinephone_full_day.rst diff --git a/content/notes/foss/xonsh_first_impressions.rst b/content/posts/foss/xonsh_first_impressions.rst diff --git a/content/notes/privacy/onion_location_headers.rst b/content/posts/privacy/onion_location_headers.rst diff --git a/content/notes/privacy/tor_newsboat.rst b/content/posts/privacy/tor_newsboat.rst diff --git a/content/notes/privacy/tor_vpn_nftables_killswitch.rst b/content/posts/privacy/tor_vpn_nftables_killswitch.rst diff --git a/content/notes/raspberrypi/git_backups.rst b/content/posts/raspberrypi/git_backups.rst diff --git a/content/notes/raspberrypi/pi_home_music_system.rst b/content/posts/raspberrypi/pi_home_music_system.rst diff --git a/pelicanconf.py b/pelicanconf.py @@ -16,15 +16,15 @@ PATH = 'content' TIMEZONE = 'UTC' THEME = '/home/mcol/git/mcol.xyz-theme' PAGE_PATHS = ['pages',] -ARTICLE_PATHS = ['notes',] +ARTICLE_PATHS = ['posts',] DEFAULT_DATE_FORMAT = '%Y-%m-%d' -STATIC_PATHS = ['static', 'favicon.png'] +STATIC_PATHS = ['static', 'favicon.png', 'icons', 'avatar.png'] PLUGIN_PATHS = ["/home/mcol/git", "/home/mcol/git/pelican-plugins"] PLUGINS = [] RELATIVE_URLS = True -ARCHIVES_TITLE = 'notes' -ARCHIVES_SAVE_AS = 'notes.html' +ARCHIVES_TITLE = 'posts' +ARCHIVES_SAVE_AS = 'posts.html' AUTHORS_SAVE_AS = '' TAGS_SAVE_AS = '' ARTICLE_URL = '{date:%Y}/{date:%m}/{slug}.html' @@ -35,27 +35,24 @@ AUTHOR_SAVE_AS = '' DISPLAY_CATEGORIES_ON_MENU = False -# rice layout -MENUITEMS = ( - ('code', '/code'), - ('about', '/about.html'), - ('onion', 'http://mcolxyzogp3cy4czf52oa2svu2vjge3otm3shxmtvwshyum47sis3iid.onion'), +# Theme +ICONS = ( + ('/icons/home.png', 'Home', '/'), + ('/icons/git.png', 'My git respositories', '/code/'), + ('/icons/mastodon.png', 'Me on Mastodon', 'https://fosstodon.org/@mcol rel=me'), + ('/icons/email.png', 'Email me', 'mailto:mcol@posteo.net'), + ('/icons/github.png', 'Me on GitHub', 'https://github.com/m-col'), + ('/icons/liberapay.png', 'Me on Liberapay', 'https://liberapay.com/mcol'), + ('/icons/onion.png', 'Onion service', 'http://mcolxyzogp3cy4czf52oa2svu2vjge3otm3shxmtvwshyum47sis3iid.onion'), + ('/icons/rss.png', 'RSS feed', '/rss.xml'), ) -ICONITEMS = ( - ('fab fa-mastodon', 'https://fosstodon.org/@mcol" rel="me'), - ('fas fa-envelope', 'mailto:mcol@posteo.net'), - ('fas fa-rss', '/rss.xml'), -) - -SITESUBTITLE = "A hobbyist's notes on FOSS, linux toys and privacy tools" -MENUPADTO = 8 +AVATAR = "/avatar.png" +HOME1 = "A hobbyist's notes on FOSS, linux toys and privacy tools" +HOME2 = "~ Welcome ~" EXTRAHEAD = """<link rel="stylesheet" href="/theme/css/fa.css" /> <script data-goatcounter="https://goat.mcol.xyz/count" async src="//goat.mcol.xyz/count.js"></script>""" -PRIVACYPOLICY = """I collect very little 100% anonymous data for a vague sense of what -pages are visited, and from what websites. That is its only use, only by me, only on my -machine.""" - +EXTRATAIL = "<script data-goatcounter=https://goat.mcol.xyz/count async src=//goat.mcol.xyz/count.js></script>" # minify-fontawesome PLUGINS.append("pelican-minify-fontawesome")