diff --git a/.gitmodules b/.gitmodules index 28961b2e..a67bfef2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "themes/nederburg"] - path = themes/nederburg - url = https://github.com/appernetic/hugo-nederburg-theme.git +[submodule "themes/hugo-flex"] + path = themes/hugo-flex + url = https://github.com/ldeso/hugo-flex.git diff --git a/.htaccess b/.htaccess old mode 100644 new mode 100755 diff --git a/README.md b/README.md index ac7e3abc..f094163b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # www.duckland.org Source to the website [www.duckland.org](https://www.duckland.org) + + diff --git a/archetypes/default.md b/archetypes/default.md old mode 100644 new mode 100755 diff --git a/content/.htaccess b/content/.htaccess old mode 100644 new mode 100755 diff --git a/content/contact/_index.md b/content/contact/_index.md old mode 100644 new mode 100755 diff --git a/content/post/2018/08/10-months-on-a-chromebook-check-in.md b/content/post/2018/08/10-months-on-a-chromebook-check-in.md deleted file mode 100644 index c49c3a82..00000000 --- a/content/post/2018/08/10-months-on-a-chromebook-check-in.md +++ /dev/null @@ -1,15 +0,0 @@ -+++ -date = "2018-08-23T18:58:00-07:00" -title = "10 Months on a Chromebook Check-in" -slug = "10-months-on-a-chromebook-check-in" -+++ - -So, way back in November,  I decided to use ChromeOS has my main OS.  And, then in January, I did a check-in on using ChromeOS for a month.  Fast forward to-day, and I am still using my PixelBook as my daily driver for all things. - -I still use the R810 and the x260 to test new Linux distros just to see what is happening in that space, but not to do anything else. - -The battery on the PixelBook last me most of the day when out and about, and the size makes it easy to carry.  Last month, I even used it to give a talk to a [group](https://www.katorination.com) I help run, and it worked flawlessly then. - -I still want to do some things via the command line, so for a while I was using Chromebrew to get by, but that has a couple of issues for me.  The first is that a lot of what I wanted had not been ported to that system yet, so I had to go and build it.  The second, and for me more important, was that to use it, I had to turn off some of the security built into ChromeOS to make it work.  A couple of months ago, Google announced Project Crostini, which uses Linux containers to allow you to run a full Linux (default is Debian) image under ChromeOS, using all the default ChromeOS security, which makes it a big win in my book. - -Add on top of that, that the PixelBook can run most Android apps, and I have everything I need currently.  ‘But, what about photography?’ you ask.  Well, I have found that I needed to rework my photo work flow, but I have found something that works for me.  All the photos that I have uploaded this year were posted under ChromeOS and so far, it is working for me. \ No newline at end of file diff --git a/content/post/2006/06/what-do-i-use.md b/content/posts/2006/06/what-do-i-use.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2006/06/what-do-i-use.md rename to content/posts/2006/06/what-do-i-use.md diff --git a/content/post/2006/07/window-managers.md b/content/posts/2006/07/window-managers.md similarity index 100% rename from content/post/2006/07/window-managers.md rename to content/posts/2006/07/window-managers.md diff --git a/content/post/2006/11/another-rss-reader.md b/content/posts/2006/11/another-rss-reader.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2006/11/another-rss-reader.md rename to content/posts/2006/11/another-rss-reader.md diff --git a/content/post/2006/11/disconnected-imap.md b/content/posts/2006/11/disconnected-imap.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2006/11/disconnected-imap.md rename to content/posts/2006/11/disconnected-imap.md diff --git a/content/post/2006/11/rss-reader-raggle.md b/content/posts/2006/11/rss-reader-raggle.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2006/11/rss-reader-raggle.md rename to content/posts/2006/11/rss-reader-raggle.md diff --git a/content/post/2006/11/screen-saver-yes.md b/content/posts/2006/11/screen-saver-yes.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2006/11/screen-saver-yes.md rename to content/posts/2006/11/screen-saver-yes.md diff --git a/content/post/2007/01/window-manager-for-tty.md b/content/posts/2007/01/window-manager-for-tty.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2007/01/window-manager-for-tty.md rename to content/posts/2007/01/window-manager-for-tty.md diff --git a/content/post/2007/03/cli-bugissuetask-tracking-system.md b/content/posts/2007/03/cli-bugissuetask-tracking-system.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2007/03/cli-bugissuetask-tracking-system.md rename to content/posts/2007/03/cli-bugissuetask-tracking-system.md diff --git a/content/post/2007/03/strayed-from-the-path.md b/content/posts/2007/03/strayed-from-the-path.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2007/03/strayed-from-the-path.md rename to content/posts/2007/03/strayed-from-the-path.md diff --git a/content/post/2007/05/bins-photo-album.md b/content/posts/2007/05/bins-photo-album.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2007/05/bins-photo-album.md rename to content/posts/2007/05/bins-photo-album.md diff --git a/content/post/2007/05/ikog-the-simple-todo-list.md b/content/posts/2007/05/ikog-the-simple-todo-list.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2007/05/ikog-the-simple-todo-list.md rename to content/posts/2007/05/ikog-the-simple-todo-list.md diff --git a/content/post/2007/06/pacman-for-console.md b/content/posts/2007/06/pacman-for-console.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2007/06/pacman-for-console.md rename to content/posts/2007/06/pacman-for-console.md diff --git a/content/post/2007/06/screen-terminal-multiplexer.md b/content/posts/2007/06/screen-terminal-multiplexer.md similarity index 100% rename from content/post/2007/06/screen-terminal-multiplexer.md rename to content/posts/2007/06/screen-terminal-multiplexer.md diff --git a/content/post/2008/05/command-line-blog-posts.md b/content/posts/2008/05/command-line-blog-posts.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2008/05/command-line-blog-posts.md rename to content/posts/2008/05/command-line-blog-posts.md diff --git a/content/post/2008/08/pizza-party-command-line-pizza-ordering-program.md b/content/posts/2008/08/pizza-party-command-line-pizza-ordering-program.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2008/08/pizza-party-command-line-pizza-ordering-program.md rename to content/posts/2008/08/pizza-party-command-line-pizza-ordering-program.md diff --git a/content/post/2008/08/so-you-need-a-calendar.md b/content/posts/2008/08/so-you-need-a-calendar.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2008/08/so-you-need-a-calendar.md rename to content/posts/2008/08/so-you-need-a-calendar.md diff --git a/content/post/2008/11/alerting-with-remind.md b/content/posts/2008/11/alerting-with-remind.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2008/11/alerting-with-remind.md rename to content/posts/2008/11/alerting-with-remind.md diff --git a/content/post/2008/12/googles-calendar-on-the-command-line.md b/content/posts/2008/12/googles-calendar-on-the-command-line.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2008/12/googles-calendar-on-the-command-line.md rename to content/posts/2008/12/googles-calendar-on-the-command-line.md diff --git a/content/post/2009/01/cmus-a-music-manager-for-the-terminal.md b/content/posts/2009/01/cmus-a-music-manager-for-the-terminal.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2009/01/cmus-a-music-manager-for-the-terminal.md rename to content/posts/2009/01/cmus-a-music-manager-for-the-terminal.md diff --git a/content/post/2009/04/wifiroamd-intel-prowireless-3945abg-and-fedora.md b/content/posts/2009/04/wifiroamd-intel-prowireless-3945abg-and-fedora.md similarity index 100% rename from content/post/2009/04/wifiroamd-intel-prowireless-3945abg-and-fedora.md rename to content/posts/2009/04/wifiroamd-intel-prowireless-3945abg-and-fedora.md diff --git a/content/post/2009/05/search-your-email.md b/content/posts/2009/05/search-your-email.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2009/05/search-your-email.md rename to content/posts/2009/05/search-your-email.md diff --git a/content/post/2009/12/making-life-easy-over-flaky-links.md b/content/posts/2009/12/making-life-easy-over-flaky-links.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2009/12/making-life-easy-over-flaky-links.md rename to content/posts/2009/12/making-life-easy-over-flaky-links.md diff --git a/content/post/2010/02/cmus-project-restarted.md b/content/posts/2010/02/cmus-project-restarted.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2010/02/cmus-project-restarted.md rename to content/posts/2010/02/cmus-project-restarted.md diff --git a/content/post/2011/12/an-update-to-window-managers.md b/content/posts/2011/12/an-update-to-window-managers.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2011/12/an-update-to-window-managers.md rename to content/posts/2011/12/an-update-to-window-managers.md diff --git a/content/post/2013/10/rebooting-ducklandorg.md b/content/posts/2013/10/rebooting-ducklandorg.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2013/10/rebooting-ducklandorg.md rename to content/posts/2013/10/rebooting-ducklandorg.md diff --git a/content/post/2013/11/clickable-urls-links-in-rxvt.md b/content/posts/2013/11/clickable-urls-links-in-rxvt.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2013/11/clickable-urls-links-in-rxvt.md rename to content/posts/2013/11/clickable-urls-links-in-rxvt.md diff --git a/content/post/2013/11/dd-with-progress.md b/content/posts/2013/11/dd-with-progress.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2013/11/dd-with-progress.md rename to content/posts/2013/11/dd-with-progress.md diff --git a/content/post/2013/11/tale-of-install.md b/content/posts/2013/11/tale-of-install.md similarity index 100% rename from content/post/2013/11/tale-of-install.md rename to content/posts/2013/11/tale-of-install.md diff --git a/content/post/2014/01/cli-added.md b/content/posts/2014/01/cli-added.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/01/cli-added.md rename to content/posts/2014/01/cli-added.md diff --git a/content/post/2014/01/tale-of-install-2.md b/content/posts/2014/01/tale-of-install-2.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/01/tale-of-install-2.md rename to content/posts/2014/01/tale-of-install-2.md diff --git a/content/post/2014/02/travels.md b/content/posts/2014/02/travels.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/02/travels.md rename to content/posts/2014/02/travels.md diff --git a/content/post/2014/03/back-to-freebsd-aka-day-1.md b/content/posts/2014/03/back-to-freebsd-aka-day-1.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/03/back-to-freebsd-aka-day-1.md rename to content/posts/2014/03/back-to-freebsd-aka-day-1.md diff --git a/content/post/2014/03/freebsd-challenge-day-12-15.md b/content/posts/2014/03/freebsd-challenge-day-12-15.md similarity index 100% rename from content/post/2014/03/freebsd-challenge-day-12-15.md rename to content/posts/2014/03/freebsd-challenge-day-12-15.md diff --git a/content/post/2014/03/freebsd-challenge-day-16.md b/content/posts/2014/03/freebsd-challenge-day-16.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/03/freebsd-challenge-day-16.md rename to content/posts/2014/03/freebsd-challenge-day-16.md diff --git a/content/post/2014/03/freebsd-challenge-day-2.md b/content/posts/2014/03/freebsd-challenge-day-2.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/03/freebsd-challenge-day-2.md rename to content/posts/2014/03/freebsd-challenge-day-2.md diff --git a/content/post/2014/03/freebsd-challenge-day-3.md b/content/posts/2014/03/freebsd-challenge-day-3.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/03/freebsd-challenge-day-3.md rename to content/posts/2014/03/freebsd-challenge-day-3.md diff --git a/content/post/2014/03/freebsd-challenge-day-4-6.md b/content/posts/2014/03/freebsd-challenge-day-4-6.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/03/freebsd-challenge-day-4-6.md rename to content/posts/2014/03/freebsd-challenge-day-4-6.md diff --git a/content/post/2014/03/freebsd-challenge-day-7.md b/content/posts/2014/03/freebsd-challenge-day-7.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/03/freebsd-challenge-day-7.md rename to content/posts/2014/03/freebsd-challenge-day-7.md diff --git a/content/post/2014/03/freebsd-challenge-day-8.md b/content/posts/2014/03/freebsd-challenge-day-8.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/03/freebsd-challenge-day-8.md rename to content/posts/2014/03/freebsd-challenge-day-8.md diff --git a/content/post/2014/03/freebsd-challenge-day-9-11.md b/content/posts/2014/03/freebsd-challenge-day-9-11.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/03/freebsd-challenge-day-9-11.md rename to content/posts/2014/03/freebsd-challenge-day-9-11.md diff --git a/content/post/2014/03/new-cms-again.md b/content/posts/2014/03/new-cms-again.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/03/new-cms-again.md rename to content/posts/2014/03/new-cms-again.md diff --git a/content/post/2014/04/freebsd-challenge-day-17.md b/content/posts/2014/04/freebsd-challenge-day-17.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/04/freebsd-challenge-day-17.md rename to content/posts/2014/04/freebsd-challenge-day-17.md diff --git a/content/post/2014/04/freebsd-challenge-final-for-now.md b/content/posts/2014/04/freebsd-challenge-final-for-now.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/04/freebsd-challenge-final-for-now.md rename to content/posts/2014/04/freebsd-challenge-final-for-now.md diff --git a/content/post/2014/04/freebsd-challenge-update.md b/content/posts/2014/04/freebsd-challenge-update.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/04/freebsd-challenge-update.md rename to content/posts/2014/04/freebsd-challenge-update.md diff --git a/content/post/2014/05/on-the-road-again.md b/content/posts/2014/05/on-the-road-again.md similarity index 100% rename from content/post/2014/05/on-the-road-again.md rename to content/posts/2014/05/on-the-road-again.md diff --git a/content/post/2014/06/back-to-freebsd-maybe-back-to-the-challenge.md b/content/posts/2014/06/back-to-freebsd-maybe-back-to-the-challenge.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/06/back-to-freebsd-maybe-back-to-the-challenge.md rename to content/posts/2014/06/back-to-freebsd-maybe-back-to-the-challenge.md diff --git a/content/post/2014/06/rewards-for-hard-travel.md b/content/posts/2014/06/rewards-for-hard-travel.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/06/rewards-for-hard-travel.md rename to content/posts/2014/06/rewards-for-hard-travel.md diff --git a/content/post/2014/07/freebsd-switch.md b/content/posts/2014/07/freebsd-switch.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/07/freebsd-switch.md rename to content/posts/2014/07/freebsd-switch.md diff --git a/content/post/2014/08/one-step-closer.md b/content/posts/2014/08/one-step-closer.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/08/one-step-closer.md rename to content/posts/2014/08/one-step-closer.md diff --git a/content/post/2014/09/perl-modules-and-package-management.md b/content/posts/2014/09/perl-modules-and-package-management.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/09/perl-modules-and-package-management.md rename to content/posts/2014/09/perl-modules-and-package-management.md diff --git a/content/post/2014/10/another-month-going-quick.md b/content/posts/2014/10/another-month-going-quick.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/10/another-month-going-quick.md rename to content/posts/2014/10/another-month-going-quick.md diff --git a/content/post/2014/12/another-year.md b/content/posts/2014/12/another-year.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/12/another-year.md rename to content/posts/2014/12/another-year.md diff --git a/content/post/2014/12/goodbye-2014.md b/content/posts/2014/12/goodbye-2014.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/12/goodbye-2014.md rename to content/posts/2014/12/goodbye-2014.md diff --git a/content/post/2014/12/new-look-again.md b/content/posts/2014/12/new-look-again.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/12/new-look-again.md rename to content/posts/2014/12/new-look-again.md diff --git a/content/post/2014/12/this-posting-thing-is-not-working-right-now.md b/content/posts/2014/12/this-posting-thing-is-not-working-right-now.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2014/12/this-posting-thing-is-not-working-right-now.md rename to content/posts/2014/12/this-posting-thing-is-not-working-right-now.md diff --git a/content/post/2015/01/freebsd-challenge-ii-day-14.md b/content/posts/2015/01/freebsd-challenge-ii-day-14.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/01/freebsd-challenge-ii-day-14.md rename to content/posts/2015/01/freebsd-challenge-ii-day-14.md diff --git a/content/post/2015/01/freebsd-challenge-ii-day-30-update.md b/content/posts/2015/01/freebsd-challenge-ii-day-30-update.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/01/freebsd-challenge-ii-day-30-update.md rename to content/posts/2015/01/freebsd-challenge-ii-day-30-update.md diff --git a/content/post/2015/01/update-on-revisiting-freebsd-challenge.md b/content/posts/2015/01/update-on-revisiting-freebsd-challenge.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/01/update-on-revisiting-freebsd-challenge.md rename to content/posts/2015/01/update-on-revisiting-freebsd-challenge.md diff --git a/content/post/2015/02/30daychallengefreebsdsa.md b/content/posts/2015/02/30daychallengefreebsdsa.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/02/30daychallengefreebsdsa.md rename to content/posts/2015/02/30daychallengefreebsdsa.md diff --git a/content/post/2015/03/march-update.md b/content/posts/2015/03/march-update.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/03/march-update.md rename to content/posts/2015/03/march-update.md diff --git a/content/post/2015/05/april-recap.md b/content/posts/2015/05/april-recap.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/05/april-recap.md rename to content/posts/2015/05/april-recap.md diff --git a/content/post/2015/05/quick-ansible-tip.md b/content/posts/2015/05/quick-ansible-tip.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/05/quick-ansible-tip.md rename to content/posts/2015/05/quick-ansible-tip.md diff --git a/content/post/2015/06/first-day.md b/content/posts/2015/06/first-day.md similarity index 100% rename from content/post/2015/06/first-day.md rename to content/posts/2015/06/first-day.md diff --git a/content/post/2015/06/light-sail.md b/content/posts/2015/06/light-sail.md similarity index 100% rename from content/post/2015/06/light-sail.md rename to content/posts/2015/06/light-sail.md diff --git a/content/post/2015/06/moving.md b/content/posts/2015/06/moving.md similarity index 100% rename from content/post/2015/06/moving.md rename to content/posts/2015/06/moving.md diff --git a/content/post/2015/06/updates-to-aur-packages.md b/content/posts/2015/06/updates-to-aur-packages.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/06/updates-to-aur-packages.md rename to content/posts/2015/06/updates-to-aur-packages.md diff --git a/content/post/2015/06/vegas-again.md b/content/posts/2015/06/vegas-again.md similarity index 100% rename from content/post/2015/06/vegas-again.md rename to content/posts/2015/06/vegas-again.md diff --git a/content/post/2015/07/galveston-summer-2015.md b/content/posts/2015/07/galveston-summer-2015.md similarity index 100% rename from content/post/2015/07/galveston-summer-2015.md rename to content/posts/2015/07/galveston-summer-2015.md diff --git a/content/post/2015/08/do-i-stay-or-do-i-go.md b/content/posts/2015/08/do-i-stay-or-do-i-go.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/08/do-i-stay-or-do-i-go.md rename to content/posts/2015/08/do-i-stay-or-do-i-go.md diff --git a/content/post/2015/08/speed-goes-to-11-111-that-is.md b/content/posts/2015/08/speed-goes-to-11-111-that-is.md similarity index 100% rename from content/post/2015/08/speed-goes-to-11-111-that-is.md rename to content/posts/2015/08/speed-goes-to-11-111-that-is.md diff --git a/content/post/2015/09/and-the-firewall-goes-pop.md b/content/posts/2015/09/and-the-firewall-goes-pop.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/09/and-the-firewall-goes-pop.md rename to content/posts/2015/09/and-the-firewall-goes-pop.md diff --git a/content/post/2015/09/another-month-another-post.md b/content/posts/2015/09/another-month-another-post.md old mode 100644 new mode 100755 similarity index 80% rename from content/post/2015/09/another-month-another-post.md rename to content/posts/2015/09/another-month-another-post.md index 668c8226..2d90eaa9 --- a/content/post/2015/09/another-month-another-post.md +++ b/content/posts/2015/09/another-month-another-post.md @@ -9,7 +9,7 @@ Wow...September already? Where does the time go? With the time given to the commute and the lack of access at the office (since I do work for a firm which does have pretty tight internet access policies), I have decided that I cannot do the photo-a-day thing, so I am not going to be updating my [photo website](https://www.donaldharper.com) on a regular basis. Sorry about that, but then since I started back this summer, the traffic was not there. -On the topic of my [last post](/post/2015/08/do-i-stay-or-do-i-go/), I have decided to keep most things in house for now. Calendaring is the biggest issue to crack. +On the topic of my [last post](/posts/2015/08/do-i-stay-or-do-i-go/), I have decided to keep most things in house for now. Calendaring is the biggest issue to crack. I hope to be able to spend some time here documenting things, if nothing else for me. Maybe someone else will find them useful. diff --git a/content/post/2015/10/halloween.md b/content/posts/2015/10/halloween.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/10/halloween.md rename to content/posts/2015/10/halloween.md diff --git a/content/post/2015/10/random-thoughts.md b/content/posts/2015/10/random-thoughts.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/10/random-thoughts.md rename to content/posts/2015/10/random-thoughts.md diff --git a/content/post/2015/11/happy-thanksgiving-for-the-us-crowd.md b/content/posts/2015/11/happy-thanksgiving-for-the-us-crowd.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2015/11/happy-thanksgiving-for-the-us-crowd.md rename to content/posts/2015/11/happy-thanksgiving-for-the-us-crowd.md diff --git a/content/post/2015/12/a-christmas-present-for-you.md b/content/posts/2015/12/a-christmas-present-for-you.md similarity index 100% rename from content/post/2015/12/a-christmas-present-for-you.md rename to content/posts/2015/12/a-christmas-present-for-you.md diff --git a/content/post/2016/01/where-did-the-time-go.md b/content/posts/2016/01/where-did-the-time-go.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2016/01/where-did-the-time-go.md rename to content/posts/2016/01/where-did-the-time-go.md diff --git a/content/post/2016/02/why-hello-there.md b/content/posts/2016/02/why-hello-there.md old mode 100644 new mode 100755 similarity index 69% rename from content/post/2016/02/why-hello-there.md rename to content/posts/2016/02/why-hello-there.md index 220c7e3f..d4afbf98 --- a/content/post/2016/02/why-hello-there.md +++ b/content/posts/2016/02/why-hello-there.md @@ -8,4 +8,4 @@ Happy Leap Day! Another month has gone by, and things have been busy. In addition to all the normal crazy that is life with kids, I have been elected to the kids pre-school board of directors. Now, the oldest two no longer go there, but the youngest will be there another year, and my term is three years, so there will be a bit of time when I will not have a kid there. They did ask me before, but that was years ago, and I was not in a position to be able to do that back then. -In other, but more geeky, news, February saw me running [FreeBSD](https://www.freebsd.org) as my OS for the month. There was only one thing in which I needed Linux for, and it was [something I know I could do under FreeBSD](/post/2014/03/freebsd-challenge-day-4-6/), but I had not set up my machine to run that program yet. Will I keep it up? Probably, although the lack of supported sleep on the current laptop, an Acer C720 Chromebook, is a major downer. I may need to see if I can do something about it, as it appears to work fine under Linux. +In other, but more geeky, news, February saw me running [FreeBSD](https://www.freebsd.org) as my OS for the month. There was only one thing in which I needed Linux for, and it was [something I know I could do under FreeBSD](/posts/2014/03/freebsd-challenge-day-4-6/), but I had not set up my machine to run that program yet. Will I keep it up? Probably, although the lack of supported sleep on the current laptop, an Acer C720 Chromebook, is a major downer. I may need to see if I can do something about it, as it appears to work fine under Linux. diff --git a/content/post/2016/03/sping-showers.md b/content/posts/2016/03/sping-showers.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2016/03/sping-showers.md rename to content/posts/2016/03/sping-showers.md diff --git a/content/post/2016/05/and-may-is-almost-over.md b/content/posts/2016/05/and-may-is-almost-over.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2016/05/and-may-is-almost-over.md rename to content/posts/2016/05/and-may-is-almost-over.md diff --git a/content/post/2016/05/spacecity-comic-con-2016.md b/content/posts/2016/05/spacecity-comic-con-2016.md similarity index 100% rename from content/post/2016/05/spacecity-comic-con-2016.md rename to content/posts/2016/05/spacecity-comic-con-2016.md diff --git a/content/post/2016/06/home_network_updates.md b/content/posts/2016/06/home_network_updates.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2016/06/home_network_updates.md rename to content/posts/2016/06/home_network_updates.md diff --git a/content/post/2016/07/random_midsummer_updates.md b/content/posts/2016/07/random_midsummer_updates.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2016/07/random_midsummer_updates.md rename to content/posts/2016/07/random_midsummer_updates.md diff --git a/content/post/2016/08/deadpool.md b/content/posts/2016/08/deadpool.md similarity index 100% rename from content/post/2016/08/deadpool.md rename to content/posts/2016/08/deadpool.md diff --git a/content/post/2016/09/harley-hates-bad-drives.md b/content/posts/2016/09/harley-hates-bad-drives.md similarity index 100% rename from content/post/2016/09/harley-hates-bad-drives.md rename to content/posts/2016/09/harley-hates-bad-drives.md diff --git a/content/post/2016/09/houstons-amazing-comic-con-2016.md b/content/posts/2016/09/houstons-amazing-comic-con-2016.md similarity index 100% rename from content/post/2016/09/houstons-amazing-comic-con-2016.md rename to content/posts/2016/09/houstons-amazing-comic-con-2016.md diff --git a/content/post/2016/09/more-random-things.md b/content/posts/2016/09/more-random-things.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2016/09/more-random-things.md rename to content/posts/2016/09/more-random-things.md diff --git a/content/post/2016/10/exit-stage-left.md b/content/posts/2016/10/exit-stage-left.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2016/10/exit-stage-left.md rename to content/posts/2016/10/exit-stage-left.md diff --git a/content/post/2016/11/tls-everwhere.md b/content/posts/2016/11/tls-everwhere.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2016/11/tls-everwhere.md rename to content/posts/2016/11/tls-everwhere.md diff --git a/content/post/2016/11/trf-2016.md b/content/posts/2016/11/trf-2016.md similarity index 87% rename from content/post/2016/11/trf-2016.md rename to content/posts/2016/11/trf-2016.md index cdf8c3b9..c3e5ca51 100644 --- a/content/post/2016/11/trf-2016.md +++ b/content/posts/2016/11/trf-2016.md @@ -7,7 +7,7 @@ featured_image = "/photos/TRF/2016/20161126112933.webp" +++ -This last weekend was the last weekend for the [2016 Texas Renaissance Festival](https://www.texrenfest.com/). Since the fall has been a bit crazy with sports and the new [job](/post/2016/10/exit-stage-left/) that we only got to go one time this year. +This last weekend was the last weekend for the [2016 Texas Renaissance Festival](https://www.texrenfest.com/). Since the fall has been a bit crazy with sports and the new [job](/posts/2016/10/exit-stage-left/) that we only got to go one time this year. Naturally, I took my camera, but as luck would have it, the battery which said it was full before I left was actually flat, and died on me. I ended up using my phone (Nexus 5x), which turned out took decent pictures within limits. Action shots were out. However, I did manage to get a [a few I liked](/photos/TRF/2016/), so on the photographic front, it was not a total loss. diff --git a/content/post/2016/12/happy-christmas.md b/content/posts/2016/12/happy-christmas.md similarity index 100% rename from content/post/2016/12/happy-christmas.md rename to content/posts/2016/12/happy-christmas.md diff --git a/content/post/2017/01/flower-experiments.md b/content/posts/2017/01/flower-experiments.md similarity index 74% rename from content/post/2017/01/flower-experiments.md rename to content/posts/2017/01/flower-experiments.md index fbb291ca..3168d70c 100644 --- a/content/post/2017/01/flower-experiments.md +++ b/content/posts/2017/01/flower-experiments.md @@ -7,7 +7,7 @@ featured_image = "/photos/Flowers/20170120174705.webp" +++ -As you may [remember](/post/2017/01/happy-new-year/), I have been working on my Project 365 (take and post a picture for 365 days). Well, so far, I am 20 for 20! +As you may [remember](/posts/2017/01/happy-new-year/), I have been working on my Project 365 (take and post a picture for 365 days). Well, so far, I am 20 for 20! But, in getting one for [yesterday](https://p365.donaldharper.com/posts/020-blue-flower-macro/), I ended up taking a bunch of pictures. I decide to share the best, and you can find them [here](/photos/Flowers/). Enjoy. diff --git a/content/post/2017/01/happy-new-year.md b/content/posts/2017/01/happy-new-year.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2017/01/happy-new-year.md rename to content/posts/2017/01/happy-new-year.md diff --git a/content/post/2017/01/more-photo-experiments.md b/content/posts/2017/01/more-photo-experiments.md similarity index 100% rename from content/post/2017/01/more-photo-experiments.md rename to content/posts/2017/01/more-photo-experiments.md diff --git a/content/post/2017/01/new-year-checkin.md b/content/posts/2017/01/new-year-checkin.md similarity index 86% rename from content/post/2017/01/new-year-checkin.md rename to content/posts/2017/01/new-year-checkin.md index 00b10b67..93e45951 100644 --- a/content/post/2017/01/new-year-checkin.md +++ b/content/posts/2017/01/new-year-checkin.md @@ -9,4 +9,4 @@ featured_image = "https://p365.donaldharper.com/p365/20170109161453.webp" First week of the new year is behind us, and how are things looking? Well, aside from the cold over the weekend, I think things are going okay. -I have not done formal resolutions for a while, but I have tried to improve myself, and sometimes a new effort matches up with the calendar. Aside from my [New Year's Day Post](/post/2017/01/happy-new-year/) +I have not done formal resolutions for a while, but I have tried to improve myself, and sometimes a new effort matches up with the calendar. Aside from my [New Year's Day Post](/posts/2017/01/happy-new-year/) diff --git a/content/post/2017/01/p365-monthly-checkin-01.md b/content/posts/2017/01/p365-monthly-checkin-01.md similarity index 100% rename from content/post/2017/01/p365-monthly-checkin-01.md rename to content/posts/2017/01/p365-monthly-checkin-01.md diff --git a/content/post/2017/01/photo-experiment.md b/content/posts/2017/01/photo-experiment.md similarity index 100% rename from content/post/2017/01/photo-experiment.md rename to content/posts/2017/01/photo-experiment.md diff --git a/content/post/2017/02/p365-monthly-checkin-02.md b/content/posts/2017/02/p365-monthly-checkin-02.md similarity index 83% rename from content/post/2017/02/p365-monthly-checkin-02.md rename to content/posts/2017/02/p365-monthly-checkin-02.md index b4a65f09..065ac425 100644 --- a/content/post/2017/02/p365-monthly-checkin-02.md +++ b/content/posts/2017/02/p365-monthly-checkin-02.md @@ -9,7 +9,7 @@ featured_image = "/photos/Random/201702.webp" Another quick update on how I am doing with my [Project 365](https://p365.donaldharper.com/). -See my [previous update](/post/2017/01/p365-monthly-checkin-01/) for how I did last month. +See my [previous update](/posts/2017/01/p365-monthly-checkin-01/) for how I did last month. This month, while I posted a pic every day, aside from some of the Lego macro shots, I am not as happy with the subject matter. I need to work on that. diff --git a/content/post/2017/02/quick-nmcli-notes.md b/content/posts/2017/02/quick-nmcli-notes.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2017/02/quick-nmcli-notes.md rename to content/posts/2017/02/quick-nmcli-notes.md diff --git a/content/post/2017/06/more-travel.md b/content/posts/2017/06/more-travel.md similarity index 85% rename from content/post/2017/06/more-travel.md rename to content/posts/2017/06/more-travel.md index 0a3db29f..2cb2d10f 100644 --- a/content/post/2017/06/more-travel.md +++ b/content/posts/2017/06/more-travel.md @@ -7,7 +7,7 @@ featured_image = "/photos/Travel/US/NYC-2017-06/IMG_20170611_125221.webp" +++ -Well, I had to [open my mouth](/post/2017/06/trip-to-bournemouth-uk/) and say that I thought things were going to slow down. About that... +Well, I had to [open my mouth](/posts/2017/06/trip-to-bournemouth-uk/) and say that I thought things were going to slow down. About that... So, I get word late on a Friday I needed to get to New York for a meeting with a vendor. A frantic hour or so later, and I have things booked, and that Sunday, I have this view: diff --git a/content/post/2017/06/trip-to-bournemouth-uk.md b/content/posts/2017/06/trip-to-bournemouth-uk.md similarity index 100% rename from content/post/2017/06/trip-to-bournemouth-uk.md rename to content/posts/2017/06/trip-to-bournemouth-uk.md diff --git a/content/post/2017/07/4th-of-july-break.md b/content/posts/2017/07/4th-of-july-break.md similarity index 100% rename from content/post/2017/07/4th-of-july-break.md rename to content/posts/2017/07/4th-of-july-break.md diff --git a/content/post/2017/08/aftermath-of-harvey.md b/content/posts/2017/08/aftermath-of-harvey.md similarity index 100% rename from content/post/2017/08/aftermath-of-harvey.md rename to content/posts/2017/08/aftermath-of-harvey.md diff --git a/content/post/2017/08/harvey-after-landfall.md b/content/posts/2017/08/harvey-after-landfall.md similarity index 100% rename from content/post/2017/08/harvey-after-landfall.md rename to content/posts/2017/08/harvey-after-landfall.md diff --git a/content/post/2017/08/night-mode-for-chromeos.md b/content/posts/2017/08/night-mode-for-chromeos.md similarity index 100% rename from content/post/2017/08/night-mode-for-chromeos.md rename to content/posts/2017/08/night-mode-for-chromeos.md diff --git a/content/post/2017/08/waiting-for-the-sun.md b/content/posts/2017/08/waiting-for-the-sun.md similarity index 100% rename from content/post/2017/08/waiting-for-the-sun.md rename to content/posts/2017/08/waiting-for-the-sun.md diff --git a/content/post/2017/08/weathers-a-changing.md b/content/posts/2017/08/weathers-a-changing.md similarity index 100% rename from content/post/2017/08/weathers-a-changing.md rename to content/posts/2017/08/weathers-a-changing.md diff --git a/content/post/2017/08/welcome-to-the-new-look.md b/content/posts/2017/08/welcome-to-the-new-look.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2017/08/welcome-to-the-new-look.md rename to content/posts/2017/08/welcome-to-the-new-look.md diff --git a/content/post/2017/09/back-from-london-again.md b/content/posts/2017/09/back-from-london-again.md similarity index 98% rename from content/post/2017/09/back-from-london-again.md rename to content/posts/2017/09/back-from-london-again.md index a8df917a..84f28e26 100644 --- a/content/post/2017/09/back-from-london-again.md +++ b/content/posts/2017/09/back-from-london-again.md @@ -4,7 +4,7 @@ title = "Back from London (again)" slug = "back-from-london-(again)" +++ -So, when I [started the new job last November](https://www.duckland.org/post/2016/10/exit-stage-left/), my boss told me that the new position was not a traveling position.  Well, after three trips this year (including one to Columbus, OH), and the one I just got back from, I think he was wrong. \*grin\*. +So, when I [started the new job last November](https://www.duckland.org/posts/2016/10/exit-stage-left/), my boss told me that the new position was not a traveling position.  Well, after three trips this year (including one to Columbus, OH), and the one I just got back from, I think he was wrong. \*grin\*. So, this time, I was in London for most of the two weeks, but I did get a side trip to Bournemouth to meet with the team there.  I was over there to get brought up to speed on a new project I am starting.  This one will be more project management  vs development. diff --git a/content/post/2017/10/sunday-afternoon-photo-expirements.html b/content/posts/2017/10/sunday-afternoon-photo-expirements.html similarity index 100% rename from content/post/2017/10/sunday-afternoon-photo-expirements.html rename to content/posts/2017/10/sunday-afternoon-photo-expirements.html diff --git a/content/post/2017/11/really-moving-in-on-the-chromebook.md b/content/posts/2017/11/really-moving-in-on-the-chromebook.md similarity index 100% rename from content/post/2017/11/really-moving-in-on-the-chromebook.md rename to content/posts/2017/11/really-moving-in-on-the-chromebook.md diff --git a/content/post/2017/12/dd-game-night.md b/content/posts/2017/12/dd-game-night.md similarity index 100% rename from content/post/2017/12/dd-game-night.md rename to content/posts/2017/12/dd-game-night.md diff --git a/content/post/2017/12/on-smartphones-and-two-factor-auth.md b/content/posts/2017/12/on-smartphones-and-two-factor-auth.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2017/12/on-smartphones-and-two-factor-auth.md rename to content/posts/2017/12/on-smartphones-and-two-factor-auth.md diff --git a/content/post/2017/12/snow-day-in-houston.md b/content/posts/2017/12/snow-day-in-houston.md similarity index 100% rename from content/post/2017/12/snow-day-in-houston.md rename to content/posts/2017/12/snow-day-in-houston.md diff --git a/content/post/2017/12/trip-to-the-park-in-bw.md b/content/posts/2017/12/trip-to-the-park-in-bw.md similarity index 100% rename from content/post/2017/12/trip-to-the-park-in-bw.md rename to content/posts/2017/12/trip-to-the-park-in-bw.md diff --git a/content/post/2018/01/a-month-in-using-chromeos-only.md b/content/posts/2018/01/a-month-in-using-chromeos-only.md similarity index 100% rename from content/post/2018/01/a-month-in-using-chromeos-only.md rename to content/posts/2018/01/a-month-in-using-chromeos-only.md diff --git a/content/post/2018/02/february-already.md b/content/posts/2018/02/february-already.md similarity index 100% rename from content/post/2018/02/february-already.md rename to content/posts/2018/02/february-already.md diff --git a/content/post/2018/02/site-links-updated.md b/content/posts/2018/02/site-links-updated.md similarity index 100% rename from content/post/2018/02/site-links-updated.md rename to content/posts/2018/02/site-links-updated.md diff --git a/content/post/2018/02/sunsetoverroad.md b/content/posts/2018/02/sunsetoverroad.md similarity index 100% rename from content/post/2018/02/sunsetoverroad.md rename to content/posts/2018/02/sunsetoverroad.md diff --git a/content/post/2018/03/neveragain.md b/content/posts/2018/03/neveragain.md similarity index 100% rename from content/post/2018/03/neveragain.md rename to content/posts/2018/03/neveragain.md diff --git a/content/post/2018/04/april-showers-bring-spring-flowers.md b/content/posts/2018/04/april-showers-bring-spring-flowers.md similarity index 100% rename from content/post/2018/04/april-showers-bring-spring-flowers.md rename to content/posts/2018/04/april-showers-bring-spring-flowers.md diff --git a/content/post/2018/04/move-along-little-web-site.md b/content/posts/2018/04/move-along-little-web-site.md similarity index 100% rename from content/post/2018/04/move-along-little-web-site.md rename to content/posts/2018/04/move-along-little-web-site.md diff --git a/content/post/2018/05/a-tease.md b/content/posts/2018/05/a-tease.md similarity index 100% rename from content/post/2018/05/a-tease.md rename to content/posts/2018/05/a-tease.md diff --git a/content/post/2018/05/another-trip-to-the-uk.md b/content/posts/2018/05/another-trip-to-the-uk.md similarity index 100% rename from content/post/2018/05/another-trip-to-the-uk.md rename to content/posts/2018/05/another-trip-to-the-uk.md diff --git a/content/post/2018/05/sorry-about-that.md b/content/posts/2018/05/sorry-about-that.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2018/05/sorry-about-that.md rename to content/posts/2018/05/sorry-about-that.md diff --git a/content/post/2018/06/reflecting-on-12-years-and-counting.md b/content/posts/2018/06/reflecting-on-12-years-and-counting.md similarity index 100% rename from content/post/2018/06/reflecting-on-12-years-and-counting.md rename to content/posts/2018/06/reflecting-on-12-years-and-counting.md diff --git a/content/post/2018/07/4th-of-july-2018-trip-photos.md b/content/posts/2018/07/4th-of-july-2018-trip-photos.md similarity index 100% rename from content/post/2018/07/4th-of-july-2018-trip-photos.md rename to content/posts/2018/07/4th-of-july-2018-trip-photos.md diff --git a/content/post/2018/07/happy-bday-usa.md b/content/posts/2018/07/happy-bday-usa.md similarity index 100% rename from content/post/2018/07/happy-bday-usa.md rename to content/posts/2018/07/happy-bday-usa.md diff --git a/content/posts/2018/08/10-months-on-a-chromebook-check-in.md b/content/posts/2018/08/10-months-on-a-chromebook-check-in.md new file mode 100644 index 00000000..4e7ac45c --- /dev/null +++ b/content/posts/2018/08/10-months-on-a-chromebook-check-in.md @@ -0,0 +1,15 @@ ++++ +date = "2018-08-23T18:58:00-07:00" +title = "10 Months on a Chromebook Check-in" +slug = "10-months-on-a-chromebook-check-in" ++++ + +So, way [back in November](really-moving-in-on-the-chromebook),  I decided to use ChromeOS has my main OS.  And, then in [January](a-month-in-using-chromeos-only), I did a check-in on using ChromeOS for a month.  Fast forward to-day, and I am still using my PixelBook as my daily driver for all things. + +I still use the [R810](/tags/r810) and the x260 to test new Linux distros just to see what is happening in that space, but not to do anything else. + +The battery on the PixelBook last me most of the day when out and about, and the size makes it easy to carry.  Last month, I even used it to give a talk to a group I help run, and it worked flawlessly then. + +I still want to do some things via the command line, so for a while I was using Chromebrew to get by, but that has a couple of issues for me.  The first is that a lot of what I wanted had not been ported to that system yet, so I had to go and build it.  The second, and for me more important, was that to use it, I had to turn off some of the security built into ChromeOS to make it work.  A couple of months ago, Google announced Project Crostini, which uses Linux containers to allow you to run a full Linux (default is Debian) image under ChromeOS, using all the default ChromeOS security, which makes it a big win in my book. + +Add on top of that, that the PixelBook can run most Android apps, and I have everything I need currently.  _"But, what about photography?"_ you ask.  Well, I have found that I needed to rework my photo work flow, but I have found something that works for me.  All the photos that I have uploaded this year were posted under ChromeOS and so far, it is working for me. diff --git a/content/post/2018/08/random-photos-from-around-town.md b/content/posts/2018/08/random-photos-from-around-town.md similarity index 100% rename from content/post/2018/08/random-photos-from-around-town.md rename to content/posts/2018/08/random-photos-from-around-town.md diff --git a/content/post/2018/08/tripping-in-austin.md b/content/posts/2018/08/tripping-in-austin.md similarity index 100% rename from content/post/2018/08/tripping-in-austin.md rename to content/posts/2018/08/tripping-in-austin.md diff --git a/content/post/2018/09/treatments-of-ice-cream-cone.md b/content/posts/2018/09/treatments-of-ice-cream-cone.md similarity index 100% rename from content/post/2018/09/treatments-of-ice-cream-cone.md rename to content/posts/2018/09/treatments-of-ice-cream-cone.md diff --git a/content/post/2018/09/yet-another-trip-to-the-uk.md b/content/posts/2018/09/yet-another-trip-to-the-uk.md similarity index 100% rename from content/post/2018/09/yet-another-trip-to-the-uk.md rename to content/posts/2018/09/yet-another-trip-to-the-uk.md diff --git a/content/post/2018/10/gemini-pda.md b/content/posts/2018/10/gemini-pda.md similarity index 100% rename from content/post/2018/10/gemini-pda.md rename to content/posts/2018/10/gemini-pda.md diff --git a/content/post/2018/11/fall-is-coming.md b/content/posts/2018/11/fall-is-coming.md similarity index 100% rename from content/post/2018/11/fall-is-coming.md rename to content/posts/2018/11/fall-is-coming.md diff --git a/content/post/2018/11/quick-photos-from-trf.md b/content/posts/2018/11/quick-photos-from-trf.md similarity index 100% rename from content/post/2018/11/quick-photos-from-trf.md rename to content/posts/2018/11/quick-photos-from-trf.md diff --git a/content/post/2018/12/a-look-behind-and-a-look-ahead.md b/content/posts/2018/12/a-look-behind-and-a-look-ahead.md similarity index 100% rename from content/post/2018/12/a-look-behind-and-a-look-ahead.md rename to content/posts/2018/12/a-look-behind-and-a-look-ahead.md diff --git a/content/post/2018/12/trf-2018-photos-general.md b/content/posts/2018/12/trf-2018-photos-general.md similarity index 100% rename from content/post/2018/12/trf-2018-photos-general.md rename to content/posts/2018/12/trf-2018-photos-general.md diff --git a/content/post/2018/12/trf-2018-photos-holiday.md b/content/posts/2018/12/trf-2018-photos-holiday.md similarity index 100% rename from content/post/2018/12/trf-2018-photos-holiday.md rename to content/posts/2018/12/trf-2018-photos-holiday.md diff --git a/content/post/2018/12/trf-2018-photos-people.md b/content/posts/2018/12/trf-2018-photos-people.md similarity index 100% rename from content/post/2018/12/trf-2018-photos-people.md rename to content/posts/2018/12/trf-2018-photos-people.md diff --git a/content/post/2018/12/trf-2018-photos-water-lilies.md b/content/posts/2018/12/trf-2018-photos-water-lilies.md similarity index 100% rename from content/post/2018/12/trf-2018-photos-water-lilies.md rename to content/posts/2018/12/trf-2018-photos-water-lilies.md diff --git a/content/post/2019/01/12-months-of-chrome-os.md b/content/posts/2019/01/12-months-of-chrome-os.md similarity index 56% rename from content/post/2019/01/12-months-of-chrome-os.md rename to content/posts/2019/01/12-months-of-chrome-os.md index d18ec216..fd822503 100644 --- a/content/post/2019/01/12-months-of-chrome-os.md +++ b/content/posts/2019/01/12-months-of-chrome-os.md @@ -1,12 +1,13 @@ -+++ -date = "2019-01-07T12:15:50-07:00" -title = "12 Months of Chrome OS" -slug = "12-months-of-chrome-os" -+++ +--- +date: "2019-01-07T12:15:50-07:00" +title: "12 Months of Chrome OS" +tags: ["sa", "pixelbook", "chromeos", "software"] +categories: ["sa"] +--- For the last 12+ months, Chrome OS has been my daily driver. And for the most part, it has treated me okay for all that time. Recently, some issues have cropped up. -I have successfully used my PixelBook in my day to day life doing things. Telecommuting to work a few days a week. Taking online training for work. Doing basic photo editing. Talking with the family whilst traveling. Helping launch a great father/child program. I can run Linux apps, android apps, commercial apps, in addition to web based apps. It has been great. +I have successfully used my [PixelBook](/tags/pixelbook) in my day to day life doing things. Telecommuting to work a few days a week. Taking online training for work. Doing basic [photo editing](/category/photos/). Talking with the family whilst [traveling](/category/travel/). Helping launch a great father/child program. I can run Linux apps, android apps, commercial apps, in addition to web based apps. It has been great. And, the hardware is awesome. Thin, light, and has a battery to last all day working on it unplugged. The screen has served me well . @@ -18,6 +19,6 @@ Then the last one hit, and performance took a dive. The worst part is, it is onl The performance issue would not be enough for me to stop using Chrome OS as Google does have a good track record of fixing things. Without any news on when it will be fix, I may have to start weighing my options. -The area this is really impacting me is my photography work-flow. As I mentioned last time, I am trying to get back into photography a bit more seriously and the lag makes it hard when I am trying to process more than a handful of photos. +The area this is really impacting me is my photography work-flow. As I [mentioned last time]({{}}), I am trying to get back into photography a bit more seriously and the lag makes it hard when I am trying to process more than a handful of photos. My main concern for finding a replacement is to find a laptop of similar specs as the PixelBook, preferably without paying serious money for it. diff --git a/content/post/2019/02/and-then-no-more-pixelbook.md b/content/posts/2019/02/and-then-no-more-pixelbook.md similarity index 100% rename from content/post/2019/02/and-then-no-more-pixelbook.md rename to content/posts/2019/02/and-then-no-more-pixelbook.md diff --git a/content/post/2019/03/where-did-the-month-go.md b/content/posts/2019/03/where-did-the-month-go.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2019/03/where-did-the-month-go.md rename to content/posts/2019/03/where-did-the-month-go.md diff --git a/content/post/2019/04/a-quick-note-on-citrix.md b/content/posts/2019/04/a-quick-note-on-citrix.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2019/04/a-quick-note-on-citrix.md rename to content/posts/2019/04/a-quick-note-on-citrix.md diff --git a/content/post/2019/05/houstons-graffiti-wall.md b/content/posts/2019/05/houstons-graffiti-wall.md similarity index 100% rename from content/post/2019/05/houstons-graffiti-wall.md rename to content/posts/2019/05/houstons-graffiti-wall.md diff --git a/content/post/2019/05/once_more_a_new_look.md b/content/posts/2019/05/once_more_a_new_look.md similarity index 100% rename from content/post/2019/05/once_more_a_new_look.md rename to content/posts/2019/05/once_more_a_new_look.md diff --git a/content/post/2019/06/bournemouth-2019.md b/content/posts/2019/06/bournemouth-2019.md similarity index 100% rename from content/post/2019/06/bournemouth-2019.md rename to content/posts/2019/06/bournemouth-2019.md diff --git a/content/post/2019/06/photo-gallery-test.md b/content/posts/2019/06/photo-gallery-test.md similarity index 100% rename from content/post/2019/06/photo-gallery-test.md rename to content/posts/2019/06/photo-gallery-test.md diff --git a/content/post/2019/07/black-and-white-school-park.md b/content/posts/2019/07/black-and-white-school-park.md similarity index 100% rename from content/post/2019/07/black-and-white-school-park.md rename to content/posts/2019/07/black-and-white-school-park.md diff --git a/content/post/2019/07/the-pixelbook-which-is-not-chromeos.md b/content/posts/2019/07/the-pixelbook-which-is-not-chromeos.md old mode 100644 new mode 100755 similarity index 92% rename from content/post/2019/07/the-pixelbook-which-is-not-chromeos.md rename to content/posts/2019/07/the-pixelbook-which-is-not-chromeos.md index cb28cf6c..ca56c358 --- a/content/post/2019/07/the-pixelbook-which-is-not-chromeos.md +++ b/content/posts/2019/07/the-pixelbook-which-is-not-chromeos.md @@ -21,13 +21,13 @@ series = ["Ubuntu PixelBook"] And here we go. # The Past -As I mentioned in [a while back]({{< ref "/post/2019/02/and-then-no-more-pixelbook" >}}), I dropped the ChromeOS habit. Well, at least on the [PixelBook](/tags/pixelbook/). +As I mentioned in [a while back]({{< ref "/posts/2019/02/and-then-no-more-pixelbook" >}}), I dropped the ChromeOS habit. Well, at least on the [PixelBook](/tags/pixelbook/). This left me using the [R180](/tags/r810/) again, which while it is still a very nice machine, I got used to the size and battery life of the PixelBook. I was getting maybe 3-4 hours of battery, which under most of my use cases is plenty, but sometimes, I need to be unplugged for longer. I ran across a post on [reddit](https://www.reddit.com) in the subreddit for the [PixelBook](https://www.reddit.com/r/PixelBook) which got me thinking. [This post](https://www.reddit.com/r/PixelBook/comments/bkau30/ubuntu_on_pixelbook_experience_setup_instructions/) had a link to a [GitHub repo](https://github.com/yusefnapora/pixelbook-linux) which had nice instructions on how to update the firmware to put an open UEFI firmware on, and then some scripts to finish setting things up. -After waiting to get back from [my recent trip]({{< ref "/post/2019/06/bournemouth-2019" >}}), I ordered the needed cable, and went to work. +After waiting to get back from [my recent trip]({{< ref "/posts/2019/06/bournemouth-2019" >}}), I ordered the needed cable, and went to work. # The Install diff --git a/content/post/2019/07/what-do-i-use-revisited.md b/content/posts/2019/07/what-do-i-use-revisited.md old mode 100644 new mode 100755 similarity index 91% rename from content/post/2019/07/what-do-i-use-revisited.md rename to content/posts/2019/07/what-do-i-use-revisited.md index f82274a5..9c36dd95 --- a/content/post/2019/07/what-do-i-use-revisited.md +++ b/content/posts/2019/07/what-do-i-use-revisited.md @@ -18,7 +18,7 @@ categories = ["software"] +++ -A long time ago, I have a blog called something living at cli.duckland.org. The first article on it was called [What Do I Use?]({{}}) which listed some of the software I used on a daily basis. I thought it would be worth revisiting. +A long time ago, I have a blog called something living at cli.duckland.org. The first article on it was called [What Do I Use?]({{}}) which listed some of the software I used on a daily basis. I thought it would be worth revisiting. Oddly enough, I am still using a lot of the same or very similar stuff: diff --git a/content/post/2019/08/a-duck-approaches.md b/content/posts/2019/08/a-duck-approaches.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2019/08/a-duck-approaches.md rename to content/posts/2019/08/a-duck-approaches.md diff --git a/content/post/2019/09/hustsville-state-park-camping.md b/content/posts/2019/09/hustsville-state-park-camping.md similarity index 66% rename from content/post/2019/09/hustsville-state-park-camping.md rename to content/posts/2019/09/hustsville-state-park-camping.md index 13567934..ad87c8d3 100644 --- a/content/post/2019/09/hustsville-state-park-camping.md +++ b/content/posts/2019/09/hustsville-state-park-camping.md @@ -7,6 +7,6 @@ featured_image: /photos/Travel/US/Huntsville-TX-2019-09/20190906194323173851-050 summary: "Camping in the woods" --- -This past weekend, I went camping with one of my daughters with a great group of folks from [Katori Nation] (https://www.katorination.com), a group of dads and kids spending time together in the outdoors. I packed light, and only brought the phone for a camera. I got a few good ones. +This past weekend, I went camping with one of my daughters with a great group of folks from Katori Nation, a group of dads and kids spending time together in the outdoors. I packed light, and only brought the phone for a camera. I got a few good ones. {{}} {{< load-photoswipe >}} diff --git a/content/post/2019/09/thoughts-on-the-gdp-pocket2.md b/content/posts/2019/09/thoughts-on-the-gdp-pocket2.md similarity index 100% rename from content/post/2019/09/thoughts-on-the-gdp-pocket2.md rename to content/posts/2019/09/thoughts-on-the-gdp-pocket2.md diff --git a/content/post/2019/10/hill-country-camping.md b/content/posts/2019/10/hill-country-camping.md similarity index 100% rename from content/post/2019/10/hill-country-camping.md rename to content/posts/2019/10/hill-country-camping.md diff --git a/content/post/2019/11/path-to-self-hosting.md b/content/posts/2019/11/path-to-self-hosting.md similarity index 100% rename from content/post/2019/11/path-to-self-hosting.md rename to content/posts/2019/11/path-to-self-hosting.md diff --git a/content/post/2019/12/happy-christmas.md b/content/posts/2019/12/happy-christmas.md similarity index 100% rename from content/post/2019/12/happy-christmas.md rename to content/posts/2019/12/happy-christmas.md diff --git a/content/post/2019/12/luma.webp b/content/posts/2019/12/luma.webp similarity index 100% rename from content/post/2019/12/luma.webp rename to content/posts/2019/12/luma.webp diff --git a/content/post/2019/12/wifi-issues.md b/content/posts/2019/12/wifi-issues.md similarity index 96% rename from content/post/2019/12/wifi-issues.md rename to content/posts/2019/12/wifi-issues.md index 578b4c18..d290fb8c 100644 --- a/content/post/2019/12/wifi-issues.md +++ b/content/posts/2019/12/wifi-issues.md @@ -4,8 +4,8 @@ title = "Wi-Fi Issues" categories = ["SA"] series = ["Self-Hosting"] summary = "A good reason to de-cloud my life" -image = "/post/2019/12/luma.webp" -featured_image = "/post/2019/12/luma.webp" +image = "/posts/2019/12/luma.webp" +featured_image = "/posts/2019/12/luma.webp" +++ So, way back at the end of 2017, my home wi-fi was not the best it could be. I had grand plans to pull cat-6 wire and drop simple wi-fi access points (APs) and have it all working as a happy mesh-type arrangement. Well, turns out two of the pulls would have been a real pain to do and that would leave the back of the house without any improvements, so I shelved the project. diff --git a/content/post/2020/01/progress-to-self-hosting.md b/content/posts/2020/01/progress-to-self-hosting.md similarity index 97% rename from content/post/2020/01/progress-to-self-hosting.md rename to content/posts/2020/01/progress-to-self-hosting.md index aef25848..6a236119 100644 --- a/content/post/2020/01/progress-to-self-hosting.md +++ b/content/posts/2020/01/progress-to-self-hosting.md @@ -8,7 +8,7 @@ summary = "Walking the path to Self-Hosting" series = ["Self-Hosting"] +++ -So, it has been about two months since I wrote [Path to Self-Hosting]({{}}) so I figured it was time for a check-in. +So, it has been about two months since I wrote [Path to Self-Hosting]({{}}) so I figured it was time for a check-in. As a refresher, here is the list of services I came up with (I will probably add more): diff --git a/content/post/2020/02/february-update.md b/content/posts/2020/02/february-update.md similarity index 100% rename from content/post/2020/02/february-update.md rename to content/posts/2020/02/february-update.md diff --git a/content/post/2020/03/life-is-weird.md b/content/posts/2020/03/life-is-weird.md similarity index 100% rename from content/post/2020/03/life-is-weird.md rename to content/posts/2020/03/life-is-weird.md diff --git a/content/post/2020/04/lockdown,-week-4.md b/content/posts/2020/04/lockdown,-week-4.md similarity index 100% rename from content/post/2020/04/lockdown,-week-4.md rename to content/posts/2020/04/lockdown,-week-4.md diff --git a/content/post/2020/04/week-5.md b/content/posts/2020/04/week-5.md similarity index 100% rename from content/post/2020/04/week-5.md rename to content/posts/2020/04/week-5.md diff --git a/content/post/2020/05/another-week,-more-weird.md b/content/posts/2020/05/another-week,-more-weird.md similarity index 100% rename from content/post/2020/05/another-week,-more-weird.md rename to content/posts/2020/05/another-week,-more-weird.md diff --git a/content/post/2020/07/life-in-the-new-world.md b/content/posts/2020/07/life-in-the-new-world.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2020/07/life-in-the-new-world.md rename to content/posts/2020/07/life-in-the-new-world.md diff --git a/content/post/2020/08/butterfly-on-yellow-flower.md b/content/posts/2020/08/butterfly-on-yellow-flower.md similarity index 100% rename from content/post/2020/08/butterfly-on-yellow-flower.md rename to content/posts/2020/08/butterfly-on-yellow-flower.md diff --git a/content/post/2020/10/still-alive.md b/content/posts/2020/10/still-alive.md similarity index 79% rename from content/post/2020/10/still-alive.md rename to content/posts/2020/10/still-alive.md index bd195cce..b30bd03c 100644 --- a/content/post/2020/10/still-alive.md +++ b/content/posts/2020/10/still-alive.md @@ -15,7 +15,7 @@ As we enter the 32 week since this fun started, things have changed a bit, at ho Starting tomorrow, the youngest will go back to face to face instructions. Her school has had zero reported cases of the plague, so we feel pretty safe about it. The middle has been back for a few weeks, but his school has had a few cases. The oldest is still doing all her classes for college on-line. -On the professional front, as I [mentioned a while back](/post/2020/07/life-in-the-new-world/), my $JOB was making changes. Well, Thursday past was my last day with the group I started with almost 4 years ago (missed 4 years by 4 weeks) and Friday I started with the new group. I will be doing the same basic role, but using different technology stack so I have a bit of a learning curve to deal with. Also, it is looking like I will not return to the office until late Spring at the earliest. +On the professional front, as I [mentioned a while back](/posts/2020/07/life-in-the-new-world/), my $JOB was making changes. Well, Thursday past was my last day with the group I started with almost 4 years ago (missed 4 years by 4 weeks) and Friday I started with the new group. I will be doing the same basic role, but using different technology stack so I have a bit of a learning curve to deal with. Also, it is looking like I will not return to the office until late Spring at the earliest. I have dusted off my old [Ansible](https://ansible.com/) playbooks, and I have gotten them up to date. I used this when I set up my new desktop that $JOB paid for. It is missing some things that I wanted when I bought my first desktop in over 15 years like discrete graphics card, AMD CPU, and more RAM, but the main board is really nice if only limited to 32G of RAM. My first step is to upgrade the 16G of RAM the system came with to 32G. I have started to look for a decent GPU card to add to the system. The case is nice and large and easy to work in, so adding the GPU should be an easy task on afternoon. But first, I need to decide on the GPU. I do not really game, so the GPU will be used for photography and sadly Zoom calls. diff --git a/content/post/2021/02/february-2021-check-in.md b/content/posts/2021/02/february-2021-check-in.md similarity index 100% rename from content/post/2021/02/february-2021-check-in.md rename to content/posts/2021/02/february-2021-check-in.md diff --git a/content/post/2021/02/january-2021-checkin.md b/content/posts/2021/02/january-2021-checkin.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2021/02/january-2021-checkin.md rename to content/posts/2021/02/january-2021-checkin.md diff --git a/content/post/2021/02/new-look,-again.md b/content/posts/2021/02/new-look,-again.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2021/02/new-look,-again.md rename to content/posts/2021/02/new-look,-again.md diff --git a/content/post/2021/02/well,-that-was-fun.md b/content/posts/2021/02/well,-that-was-fun.md similarity index 100% rename from content/post/2021/02/well,-that-was-fun.md rename to content/posts/2021/02/well,-that-was-fun.md diff --git a/content/post/2021/03/crash-of-the-firewall.md b/content/posts/2021/03/crash-of-the-firewall.md similarity index 100% rename from content/post/2021/03/crash-of-the-firewall.md rename to content/posts/2021/03/crash-of-the-firewall.md diff --git a/content/post/2021/03/firewall-saga-pt-ii.md b/content/posts/2021/03/firewall-saga-pt-ii.md similarity index 65% rename from content/post/2021/03/firewall-saga-pt-ii.md rename to content/posts/2021/03/firewall-saga-pt-ii.md index fd98cce7..9501e6a0 100644 --- a/content/post/2021/03/firewall-saga-pt-ii.md +++ b/content/posts/2021/03/firewall-saga-pt-ii.md @@ -14,4 +14,4 @@ When I was here [last]({{}}), I was talking about h This last weekend, I did cut over to the purpose-bought box for the firewall, but I have not as of yet put to use the extra ports for WiFi and DMZ use. I still have a bit of thinking to do on how I best want to set that up. -Whilst I am not pleased to find out the IPFire team's thoughts on [wireguard](https://blog.ipfire.org/post/why-not-wireguard), I respect their decision on their project. Given that I am currently running wireguard at home (I have not had a chance to test it outside yet due to the [plague](/tags/plague/)) I was hoping they would support it. As if the fact I could not get pfSense booting was not reason enough, the pfSense project announced that they were dropping support for wireguard for the foreseeable future. +Whilst I am not pleased to find out the IPFire team's thoughts on [wireguard](https://blog.ipfire.org/posts/why-not-wireguard), I respect their decision on their project. Given that I am currently running wireguard at home (I have not had a chance to test it outside yet due to the [plague](/tags/plague/)) I was hoping they would support it. As if the fact I could not get pfSense booting was not reason enough, the pfSense project announced that they were dropping support for wireguard for the foreseeable future. diff --git a/content/post/2021/04/march-2021-check-in.md b/content/posts/2021/04/march-2021-check-in.md similarity index 96% rename from content/post/2021/04/march-2021-check-in.md rename to content/posts/2021/04/march-2021-check-in.md index a1d2713f..2c579a70 100644 --- a/content/post/2021/04/march-2021-check-in.md +++ b/content/posts/2021/04/march-2021-check-in.md @@ -25,7 +25,7 @@ On 19.March, I got my first does of anti-plague venom. This Friday, I get my bo Well, it has been a few weeks with the new firewall, and things seems to be going well with it. Speed is nice, and everything seems to be working out just fine which is nice after the hassles trying to get a new firewall up and running. # Photo Blog -I am 1/4 of the way through the 3rd year of my Project-52 posting a new photo every week. Most of the photos I have posted have been taken with my cell phone. Since March 2020, I have not gone anywhere very far from the house, and while I find things to take pictures of, I have not been motivated to crack out the main camera, so I guess the cell phone is now the main camera, leaving the [Olympus OM-D E-M5](/post/2014/06/rewards-for-hard-travel/) as a backup. +I am 1/4 of the way through the 3rd year of my Project-52 posting a new photo every week. Most of the photos I have posted have been taken with my cell phone. Since March 2020, I have not gone anywhere very far from the house, and while I find things to take pictures of, I have not been motivated to crack out the main camera, so I guess the cell phone is now the main camera, leaving the [Olympus OM-D E-M5](/posts/2014/06/rewards-for-hard-travel/) as a backup. # Cleaning the Desk No, I did not change jobs. It is the fact that my $COMPANY announced last year that we would be moving out of out our current building, and moving into a new building (new to us, not new to the world) around the end of Summer 2021. Well, it seems that the Powers That Be(tm) seem to think that we will not be going back to the office before we move, so they have us go in, socially distanced, and clean out our desks in preparation for the movers to come in in August. So, after 54 weeks, I went in to the office and packed up a box to bring home. diff --git a/content/post/2021/05/color-after-freeze.md b/content/posts/2021/05/color-after-freeze.md similarity index 100% rename from content/post/2021/05/color-after-freeze.md rename to content/posts/2021/05/color-after-freeze.md diff --git a/content/post/2021/06/github-payback-time.md b/content/posts/2021/06/github-payback-time.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2021/06/github-payback-time.md rename to content/posts/2021/06/github-payback-time.md diff --git a/content/post/2021/06/heart-for-everyone.md b/content/posts/2021/06/heart-for-everyone.md similarity index 87% rename from content/post/2021/06/heart-for-everyone.md rename to content/posts/2021/06/heart-for-everyone.md index 7cda2323..e96928d4 100644 --- a/content/post/2021/06/heart-for-everyone.md +++ b/content/posts/2021/06/heart-for-everyone.md @@ -1,12 +1,12 @@ --- image: "/photos/Random/Chalk-Heart.webp" featured_image: "/photos/Random/Chalk-Heart.webp" -image: "/photos/Random/Chalk-Heart.webp" date: "2021-06-25T21:46:01-05:00" tags: ["photos"] categories: ["photos"] title: "Heart for Everyone" --- + Everybody needs love.... ![chalk heart](/photos/Random/Chalk-Heart.webp) diff --git a/content/post/2021/06/quick-photo-walk.md b/content/posts/2021/06/quick-photo-walk.md similarity index 100% rename from content/post/2021/06/quick-photo-walk.md rename to content/posts/2021/06/quick-photo-walk.md diff --git a/content/post/2021/07/july-2021-check-in.md b/content/posts/2021/07/july-2021-check-in.md similarity index 100% rename from content/post/2021/07/july-2021-check-in.md rename to content/posts/2021/07/july-2021-check-in.md diff --git a/content/post/2021/07/where-have-i-been.md b/content/posts/2021/07/where-have-i-been.md old mode 100644 new mode 100755 similarity index 100% rename from content/post/2021/07/where-have-i-been.md rename to content/posts/2021/07/where-have-i-been.md diff --git a/content/post/2021/10/the-start-of-fall-update.md b/content/posts/2021/10/the-start-of-fall-update.md similarity index 100% rename from content/post/2021/10/the-start-of-fall-update.md rename to content/posts/2021/10/the-start-of-fall-update.md diff --git a/content/post/2022/03/check-in-2022-q1.md b/content/posts/2022/03/check-in-2022-q1.md similarity index 100% rename from content/post/2022/03/check-in-2022-q1.md rename to content/posts/2022/03/check-in-2022-q1.md diff --git a/content/post/2022/06/check-in-2022-q2.md b/content/posts/2022/06/check-in-2022-q2.md similarity index 100% rename from content/post/2022/06/check-in-2022-q2.md rename to content/posts/2022/06/check-in-2022-q2.md diff --git a/content/post/2022/12/check-in-2022-q4.md b/content/posts/2022/12/check-in-2022-q4.md similarity index 98% rename from content/post/2022/12/check-in-2022-q4.md rename to content/posts/2022/12/check-in-2022-q4.md index 0ab20e6d..a70d28ce 100644 --- a/content/post/2022/12/check-in-2022-q4.md +++ b/content/posts/2022/12/check-in-2022-q4.md @@ -1,5 +1,5 @@ --- -date: "2022-06-18T04:00:00-07:00" +date: "2022-12-30T04:00:00-07:00" title: "Check-in 2022-Q4" tags: ["family","sa", "photos"] categories: ["Personal"] diff --git a/content/post/2023/01/nixos-challenge-pt-1.md b/content/posts/2023/01/nixos-challenge-pt-1.md similarity index 100% rename from content/post/2023/01/nixos-challenge-pt-1.md rename to content/posts/2023/01/nixos-challenge-pt-1.md diff --git a/content/post/2023/07/finding-film.md b/content/posts/2023/07/finding-film.md similarity index 100% rename from content/post/2023/07/finding-film.md rename to content/posts/2023/07/finding-film.md diff --git a/content/post/2024/01/check-in-2024-01.md b/content/posts/2024/01/check-in-2024-01.md similarity index 81% rename from content/post/2024/01/check-in-2024-01.md rename to content/posts/2024/01/check-in-2024-01.md index 1c30339e..e0e3191c 100644 --- a/content/post/2024/01/check-in-2024-01.md +++ b/content/posts/2024/01/check-in-2024-01.md @@ -3,8 +3,8 @@ date: "2024-01-15T04:00:00-07:00" title: "Check-in, 2024-01" tags: ["nixos", "photos", "xps", "linux", "r810", "x260", "pinetab2"] categories: ["personal"] -#image: "" -#featured_image: "" +image: "/photos/Check-in/2024-01-15/20240111114731.webp" +#featured_image: "/photos/Check-in/2024-01-15/20240111114731.webp" #series: [""] summary: "" Victor_Hugo: "true" @@ -26,9 +26,4 @@ I also got a [PineTab2](https://pine64.com/product/pinetab2-10-1-8gb-128gb-linux # Photos I have been working on my [P52](https://www.donaldharper.com) (post a photo a week for 52 weeks) for a bit over 5 years now. Every so often, I want to post more, so here are some photos from the past 7 or so days: -![img](/photos/Check-in/2024-01-15/20240110141632278-0600.webp) -![img](/photos/Check-in/2024-01-15/20240110162208.webp) -![img](/photos/Check-in/2024-01-15/20240111114318.webp) -![img](/photos/Check-in/2024-01-15/20240111114545.webp) -![img](/photos/Check-in/2024-01-15/20240111114731.webp) -![img](/photos/Check-in/2024-01-15/20240115160042591-0600.webp) +{{}} {{< load-photoswipe >}} diff --git a/content/posts/2025/06/check-in-2025q2.md b/content/posts/2025/06/check-in-2025q2.md new file mode 100644 index 00000000..da43ac60 --- /dev/null +++ b/content/posts/2025/06/check-in-2025q2.md @@ -0,0 +1,31 @@ +--- +date: "2025-06-17T04:00:00-07:00" +title: "Check-in 2025Q2" +tags: ["tui","cli","nixos","xps"] +categories: ["personal"] +#image: "" +#series: [""] +summary: "Check point 2025Q2" +--- + +Well, aside from the [burst of posts](/posts/2025/06/tui-challenge-day-1/), it as been a spell since I last posted +[something](/posts/2024/01/check-in-2024-01/). Sorry about that. + + # Computer + +Well, I think my little ['Challenge with NixOS'](/posts/2023/01/nixos-challenge-pt-1/) which I started way back in +January 2023 has been passed. I have one local server, one local 'appliance', and one VPS *not* on NixOS. Everything +else has been converted for a while. Keeping my laptops' config synced turned out to be a good thing. My [main +laptop](/tags/xps) ate its drive just before work one morning, I was able to grab the [pixelbook](/tags/pixelbook) and +start working as it was fully configured, and the needed data was synced in place. Nice. + +Speaking of pixelbooks, I picked up a 'new' 2017 PixelBook. This one is the i7 with a nvme drive and a battery in great +shape. I can take it to the office and never have to plug it in using it for my video calls and music player. + +# Other stuff + +Still at the same job I started back November 2016. Yikes. I will try to update this more with more technical stuff, I +hope. + +Oh, I changed the theme because the old one had not been updated in a long time, and I was getting tired of the security +notifications. diff --git a/content/post/2025/06/tui-challenge:-day-1.md b/content/posts/2025/06/tui-challenge:-day-1.md similarity index 96% rename from content/post/2025/06/tui-challenge:-day-1.md rename to content/posts/2025/06/tui-challenge:-day-1.md index 23f95204..500899cb 100644 --- a/content/post/2025/06/tui-challenge:-day-1.md +++ b/content/posts/2025/06/tui-challenge:-day-1.md @@ -5,10 +5,10 @@ tags: ["cli","tui"] categories: ["personal","sa"] #image: "" series: ["tuichallenge"] -summary: "" +summary: "TUI Challenge starts" --- -*tap, tap* Is this thing on? When was the last time I published anything? Oh, back on [January 15, 2024](/post/2024/01/check-in-2024-01). Oops. +*tap, tap* Is this thing on? When was the last time I published anything? Oh, back on [January 15, 2024](/posts/2024/01/check-in-2024-01). Oops. Well, I had to clean up a few things to get this back working with updates to [hugo](https://gohugo.io), the static blogging engine I use for the site. @@ -101,7 +101,7 @@ Name=$(echo ${Title} | sed -e 's/^ //' -e 's/,//' -e 's/ ://' -e 's/ /-/g' -e 's cd ${BASE} git co draft printf "title - %s\nname - %s\n" "$Title" "$Name" -OUTPUTDIR="${BASE}/content/post/${YEAR}/${MON}/" +OUTPUTDIR="${BASE}/content/posts/${YEAR}/${MON}/" mkdir -p ${OUTPUTDIR} OUTPUT="${OUTPUTDIR}/${Name}.md" echo "---" > ${OUTPUT} diff --git a/content/post/2025/06/tui-challenge:-day-2.md b/content/posts/2025/06/tui-challenge:-day-2.md similarity index 98% rename from content/post/2025/06/tui-challenge:-day-2.md rename to content/posts/2025/06/tui-challenge:-day-2.md index 9d2b43db..69a92524 100644 --- a/content/post/2025/06/tui-challenge:-day-2.md +++ b/content/posts/2025/06/tui-challenge:-day-2.md @@ -5,9 +5,7 @@ tags: ["cli","tui"] categories: ["personal","sa"] #image: "" series: ["tuichallenge"] -summary: "" -Victor_Hugo: "true" -Focus_Keyword: "" +summary: "Email in the Terminal!" --- Hey, look! Another day, another post. Today's challenge is *Email Management*. Since I already live in diff --git a/content/posts/2025/06/tui-challenge:-day-3.md b/content/posts/2025/06/tui-challenge:-day-3.md new file mode 100644 index 00000000..16ed9013 --- /dev/null +++ b/content/posts/2025/06/tui-challenge:-day-3.md @@ -0,0 +1,41 @@ +--- +date: "2025-06-10T04:00:00-07:00" +title: "TUI Challenge: Day 3" +tags: ["cli","tui"] +categories: ["personal","sa"] +#image: "" +series: ["tuichallenge"] +summary: "A Web of Trouble" +--- + +# Day 3 of the TUI Challenge is about browsing the web in the terminal. +I use to use browsers like +[lynx](https://lynx.invisible-island.net) or [elinks](http://elinks.or.cz) back in the early days of the web when I had +a slow connection like dial-up or a wireless modem from the late 1990's. Back then, web sites were much simpler than +today. An advance web site might have tables! So, in those days, a text browser worked well. But, how about now in the +era of Web 2.0 or even Web 3.0? + +The challenge today is to use a text browser to visit two web sites and summarize them. And then, things got hard. + +I was actually trying to use lynx for my daily web usage, and I was looking up how to configure +[newsboat](https://newsboat.org) so I can forward an article via email now and later to add to my task tracker. + +The two sites I that I was trying to find the answer on I was trying to look at was [reddit](https://www.reddit.com) and +[github](https://github.com) which gave problems. I think the 'new' Reddit has a lot of JavaScript which these two text +browsers do not support. My solution was to use [old.reddit.com](https://old.reddut.com) which is the classical +interface which is closer to Web 1.0. + +GitHub was all but useless in my text browsers. It was too hard to get past all the items normally hidden behind js +menus. And, after a few page views, it stopped showing me anything from the repos I was trying to visit. I am not sure +if the site thought I was an AI scraper and just stopped showing me anything or if there was something else. + +In the end, I was able to use old Reddit, Google Groups, and the newsboat web site to figure out what I wanted to do: + +``` +bind m article,articlelist pipe-to "neomutt -s\"RSS Article\" me@example.com" -- "Email article" +``` + +## Daily totals +Score time! [Yesterday](/posts/2025/06/tui-challenge-day-2/) left us with 55 points. The challenge of doing research on +at least two site and summarizing it is worth 20 points. In the bonus points include 5 for filling out a form which I +did many times on my search engine page, which gives me 25 points for the day, and a running total of 80 points. diff --git a/content/posts/2025/06/tui-challenge:-day-4.md b/content/posts/2025/06/tui-challenge:-day-4.md new file mode 100644 index 00000000..5bf476d6 --- /dev/null +++ b/content/posts/2025/06/tui-challenge:-day-4.md @@ -0,0 +1,29 @@ +--- +date: "2025-06-11T04:00:00-07:00" +title: "TUI Challenge: Day 4" +tags: ["cli","tui"] +categories: ["personal","sa"] +#image: "" +series: ["tuichallenge"] +summary: "A Song For The Terminal" +--- + +# Day 4: Let the music play! +The challenge is stream music from the terminal. Easy. I moved to self-hosting my music by +using a server [navidrome](https://www.navidrome.org). I have been happy with this solution for a long time. I have a +[an android client](https://f-droid.org/en/packages/github.daneren2005.dsub) which caches locally so I can listen on the +go without killing my cell bill. + +For the desktop, I have been using [feishin](https://github.com/jeffvli/feishin) which is an electron app. I stumbled +across [naviterm](https://gitlab.com/detoxify92/naviterm/) a couple of weeks ago. The author has been very receptive to +issues and feature requests which is great. It connects to my navidrome server, and once I queue up a playlist, it +hands off to [mpv](https://mpv.io) to play the music. Works like a treat. It also supports the same DBUS protocol that +[playerctl](https://github.com/altdesktop/playerctl) supports so none of my scripts to display current song or change or +pause songs needed to change to use it. + + +## Daily totals +Score time! [Yesterday](/posts/2025/06/tui-challenge-day-3/) left us with 80 points. Scoring today is pretty easy. 10 +points for playing music, 5 for creating a playlist (I have over 50), and 10 for streaming the music. So, 25 points +today added to the 80 from yesterday gives us 105. + diff --git a/content/posts/2025/06/tui-challenge:-day-5.md b/content/posts/2025/06/tui-challenge:-day-5.md new file mode 100644 index 00000000..83000d02 --- /dev/null +++ b/content/posts/2025/06/tui-challenge:-day-5.md @@ -0,0 +1,36 @@ +--- +date: "2025-06-12T04:00:00-07:00" +title: "TUI Challenge: Day 5" +tags: ["cli","tui"] +categories: ["personal","sa"] +#image: "" +series: ["tuichallenge"] +summary: "A Song For The Terminal" +--- + +# Day 5: File management. +'Wait!' you say 'You live at the terminal, what is wrong with *ls*, *cp*, or *mv*?' Well, most +of the time, that is fine, but there are times when I need to rename a bunch of files (cleaning up my MP3 collection) or +quickly review some source files. In those cases, what do I use? + +## vifm +[vifm](https://github.com/vifm/vifm) is a 'file manager with curses interface, which provides Vim-like environment for +managing objects within file systems, extended with some useful ideas from mutt.' When you start it up, you are great +with a split window with directory listing on both side. Using the normal vi keys moving around. You can select +multiple files, and then do things like mass rename or move the file to the other pane. Very quick and easy. I have +used this to bulk rename mp3s in a directory to my new naming standard. I could write a script, but I have messed that +up in the past, and part of why I need this type of tool to clean up. + +## ranger +[ranger](https://github.com/ranger/ranger) is a 'VIM-inspired filemanager for the console'. This is a tri-pane +arrangement Contents of the parent directory, current directory, details of what you are looking at. This last part is +the useful part. If you have selected a directory, it will show the contents of the directory. If you are looking at a +text file, it will show the contents of the file. The lets you review many files without using a pager or an editor to +review the contents. + +## Daily totals +Score time! [Yesterday](/posts/2025/06/tui-challenge-day-4/) left us with 105 points. On the score. Using a tui +filemanager, 10 points. 5 points for the bulk renaming. I have done any scripting with these type of tools, so no more +points there. Total today, 15 points, and a grand running total is now 120. + + diff --git a/content/posts/2025/06/tui-challenge:-day-6.md b/content/posts/2025/06/tui-challenge:-day-6.md new file mode 100644 index 00000000..ab04f85a --- /dev/null +++ b/content/posts/2025/06/tui-challenge:-day-6.md @@ -0,0 +1,83 @@ +--- +date: "2025-06-13T04:00:00-07:00" +title: "TUI Challenge: Day 6" +tags: ["cli","tui"] +categories: ["personal","sa"] +#image: "" +series: ["tuichallenge"] +summary: "Every Task In Its Place" +--- + +# Day 6: Task Management +Another fairly easy day for me as I already mainly use TUI and CLI for task and calendar management. + +## Task management + +``` + Monthly Burndown +250 | + | + | . + | . . + | . . . . . . + | . . . . . . . . . . . . . Done + | . . . . . . . . . . . . + Started +125 | . . . . . . . . . . . . X Pending + | . . . . . . . . . . X . . . . + | . . . . . X X X . . X . . . . . . . . + | X X X X X X X X X X X . X X X X X . . . . + | X X X X X X X X X X X X X X X X X . X X X + | X X X X X X X X X X X X X X X X X X X X X + | X X X X X X X X X X X X X X X X X X X X X + | X X X X X X X X X X X X X X X X X X X X X + 0 +--------------------------------------------------------------- + 10 11 12 01 02 03 04 05 06 07 08 09 10 11 12 01 02 03 04 05 06 + 2023 2024 2025 + + Net Fix Rate: 1.8/d + Estimated completion: 2025-08-03 (7w) +``` + +I have been using [taskwarrior](https://taskwarrior.org) for years now. It is a simple command line tool for +maintaining your task list. It stores its data in simple text files so backing it up is easy. I use a simple TUI +called [vit](https://github.com/vit-project/vit) for viewing and interacting with my tasks. + +I use taskwarrior for a mix of things I have to do for the family and work, and as a reminder system for websites, +projects, and/or media I want to visit but I do not have time for. I even wrote a script to convert emails from neomutt +or news articles from [newsboat](https://newsboat.org), a TUI RSS reader, to tasks: + +``` +#!/usr/bin/env bash +set -o nounset # Treat unset variables as an error + +tmpfile=$(mktemp) +cat /dev/stdin > "${tmpfile}" + +subj=$(grep -E ^'(Subject|Title)': "${tmpfile}" | sed -e 's/^Subject: //' -e 's/^Title: //') + +id=$(task add pri:H due:2d +email "${subj}" | grep ^Created | sed 's/^Created task \(.*\)./\1/') +cat "${tmpfile}" | onenote "${id}" - +echo "${id}" +rm -f "${tmpfile}" +``` + +I also have a daily report sent to me in email with my current top tasks, any due today or overdue, as well as my +schedule over the next three days. + +To keep all my tasks together, I use [taskd](https://gothenburgbitfactory.org/taskd/) which I run in a +[container](https://github.com/ogarcia/docker-taskd).. + +## Calendar +For managing my calendar, I use [khal](https://github.com/pimutils/khal/) for my text based calendar. For the above +mentioned reporting, I use `khal` to list my events. When I need a TUI, I use `ikhal` which is part of the khal +package. This is a nice TUI with vim keys for navigation and gives me a great overview of my events. + +I sync this using [vdirsyncer](https://github.com/pimutils/vdirsyncer) to sync my calendars (and address book) with my +[NextCloud](https://nextcloud.com) server. I use a custom vdirsyncer profile to sync NextCloud with Google for the +shared family calendars. + +## Daily totals +After [yesterday](/posts/2025/06/tui-challenge-day-5/) I have accrued 120 points. How does today help that score? Well, +completion of task management and calendars nets 20 points, with 5 bonus points for syncing and 10 bonus points for +scripting reports using these tools, for a total of 35 points today, and a running total of 155 points. + diff --git a/content/posts/2025/06/tui-challenge:-day-7.md b/content/posts/2025/06/tui-challenge:-day-7.md new file mode 100644 index 00000000..bbd9b2cd --- /dev/null +++ b/content/posts/2025/06/tui-challenge:-day-7.md @@ -0,0 +1,69 @@ +--- +date: "2025-06-14T04:00:00-07:00" +title: "TUI Challenge: Day 7" +tags: ["cli","tui"] +categories: ["personal","sa"] +#image: "" +series: ["tuichallenge"] +summary: "This is the end, my friend" +--- + +# Day 7: System Monitoring +Today's task was around system monitoring which is something I have used before as I do not have any GUI system +monitoring apps installed. + +![clockwise, top left: glances, trippy, btm, btop](/uploads/2025/06/tui-challenge-day-7.webp "clockwise, top left: +glances, trippy, bottom, btop") _clockwise, top left: [glances](https://github.com/nicolargo/glances), +[trippy](https://github.com/fujiapple852/trippy/), [bottom](https://github.com/ClementTsang/bottom), +[btop](https://github.com/aristocratos/btop)_ + +Most of the time, when you laptop/server is running great, you do not worry about what is running or how much CPU/RAM is +being consumed. But, then you notice that program start-up seemed awfully slow or that remote site was a bit slow or +did not respond at all. What now? Monitoring tools to the rescue! + +## [glances](https://github.com/nicolargo/glances) +I just found this tool recently. It gives a great overview of not just what process are running, but how your network +interfaces are doing, disk i/o as well as filesystem usage, and an overview of the IRQ in use. Truly, your system at a +glance. The only metric it is missing for me is temperature of the CPU and drives. + +## [trippy](https://github.com/fujiapple852/trippy/) +Trippy is another new find for me. It is traceroute, but all TUI up. It is easy to read, has a stop-light icon on the +far right to let you know the status of each hop. Nice. + +## [bottom](https://github.com/ClementTsang/bottom) +Bottom is another system resource monitor, but instead of just columns of numbers, you get a real-time chart of CPU, +RAM, and network usage, along with an overview of system tempatures, disk usage (but not disk I/O), and a process +overview. This is a great tool to leave up running while you are trying to track down some issue as you can see the +historical trends. + +## [btop](https://github.com/aristocratos/btop) +btop is my go-to top replacement. I even have a bash alias for top calling btop: `alias top=btop` and a key sequence +for my tmux config to call it up: `bind '~' split-window "exec btop"`. btop shows the same types of information as +bottom, but goes into more details. Disk display, for example, has not just space used but disk I/O as well. It +offers a lot of configuration options. For example, in the above picture, it is using the catppuccin_mocha theme to +match the rest of my desktop, both GUI and TUI apps. Nice. + +## Challenge +The challenge today was to use the tools at least twice and note an observation. In the above picture, I was just +starting a NixOS update and rebuild, so you can see the CPU, RAM, and network starting to get used more. + +## Daily totals +[Yesterday](/posts/2025/06/tui-challenge-day-6/) left me with 155 points. Today's basic challenge was worth 10 points, +with a bonus of 5 points for customizing the display of the tool (btop's theme). I did not do the other bonus of +scripting alerts as I already have another system for that. So, 15 points today, brings the total to 170. + +## Challenge Bonus points +There is a bonus 30 points up for grabs if I use a terminal multiplexer. As seen in the picture above, that is tmux +with the first pane split into four to show the tools off, but I also have panes for my email, RSS reader, mastodon +client, and ssh shells on a couple other machines. + +And for added geek points: +``` +[don@loki:~] $ tmux list-sessions +chat: 2 windows (created Sat Jun 14 22:34:14 2025) +duckland: 3 windows (created Sat Jun 14 22:44:28 2025) (attached) +loki: 5 windows (created Sat Jun 14 22:29:16 2025) +nixos: 2 windows (created Sat Jun 14 22:29:49 2025) +``` + +Which brings my grand total to 200! diff --git a/content/posts/2025/06/what-do-i-use-revisited,-revisited.md b/content/posts/2025/06/what-do-i-use-revisited,-revisited.md new file mode 100644 index 00000000..7f513fe4 --- /dev/null +++ b/content/posts/2025/06/what-do-i-use-revisited,-revisited.md @@ -0,0 +1,27 @@ ++++ +title = "What Do I Use Revisited, Revisited" +subtitle = "A look way back" +summary = "Revisiting another old article" +date = 2025-06-20T11:00:00 +draft = false +tags = ["cli", "tui"] +categories = ["software"] + ++++ + +After last week's [series of post](/posts/2025/06/tui-challenge-day-1/), I decided to revisit a +[post](/posts/2019/07/what-do-i-use-revisited/) from 6 years ago, which in itself revisiting a post from 19 years ago +called [What Do I Use?](/posts/2006/06/what-do-i-use/) which listed some of the software I used on a daily basis. + +And, guess what? It is still pretty much the same software. + +|Original|Past|Preset|Comments| +|:---|:---|:-----|:-------| +|[bash](https://www.gnu.org/software/bash/) - my shell of choice|Still Bash|Still bash|Why change something that works| +|[screen](https://www.gnu.org/software/screen) - a shell multiplexer and more|[tmux](https://github.com/tmux/tmux/wiki)|tmux + [tmuxinator](https://github.com/tmuxinator/tmuxinator)|Scripted tmux? Yes, please| +|mutt-ng - a mua on steroids|[mutt](https://mutt.org)|[neomutt](https://neomutt.org)|Better intergration with other tools| +|centericq - IM. How do you stay in touch?|nothing|Still nothing I have found that I like|CLI chat is mainly dead, sadly| +|snownews - an RSS feed reader|[newsboat](https://www.newsboat.org)|Same|Feed readers are still a thing| +|calcurse - a calendar/todo manger|Sadly, Google Calendar|[khal](https://github.com/pimutils/khal/)|Now, backed by [Nextcloud](https://nextcloud.com)| +|bashblogger - the CMS for this site|[Hugo](https://gohugo.io)|Still Hugo|Have not found anything easier for me| + diff --git a/content/posts/2026/04/new-home.md b/content/posts/2026/04/new-home.md new file mode 100644 index 00000000..12fb8b13 --- /dev/null +++ b/content/posts/2026/04/new-home.md @@ -0,0 +1,19 @@ +--- +date: "2026-04-11T04:00:00-07:00" +title: "New Home" +tags: ["sa", "archlinux", "hugo", "nixos", "hetzner", "linode"] +categories: ["sitenews"] +#image: "" +#series: [""] +summary: "Moved to a new/old cloud provider" +--- + +## Downtime +Sorry, but the experiment with running my sites on [nixos](/tags/nixos) at [Hetzner](/tags/hetzner) has come to an end. I was patching my host like a good [sa](/tags/sa), but something broke and my sites would not load. I could not find anything in the logs, so I gave up and moved back to a host build using [ArchLinux](/tags/archlinux) and not containers. + +Yes, I know I will have to stay on top of things a bit more, but since I use [hugo](https://gohugo.io), my attack service is a bit lower. (fingers crossed) + +## New Config +I am back to [Linode](https://www.linode.com/lp/refer/?r=e96ee631393e2276b175b4eea56cd144d6b56ae6) (referral link), running [Caddy](https://caddyserver.com). + +I do my web site coding elsewhere and push the results up. I am going to try to update this and my other sites a bit more regularly, but we will see. diff --git a/content/stories/about.md b/content/stories/about.md old mode 100644 new mode 100755 diff --git a/content/stories/privacy.md b/content/stories/privacy.md old mode 100644 new mode 100755 diff --git a/content/uploads/2025/06/tui-challenge-day-7.webp b/content/uploads/2025/06/tui-challenge-day-7.webp new file mode 100644 index 00000000..6169b86c Binary files /dev/null and b/content/uploads/2025/06/tui-challenge-day-7.webp differ diff --git a/config.toml b/hugo.toml similarity index 76% rename from config.toml rename to hugo.toml index 7bac503b..80491f27 100644 --- a/config.toml +++ b/hugo.toml @@ -1,94 +1,106 @@ baseURL = "https://www.duckland.org/" -languageCode = "en-us" -title = "duckland.org" -theme = "minimage" -# Enable comments by entering your Disqus shortname -disqusShortname = "" -# Enable Google Analytics by entering your tracking code -googleAnalytics = "" Copyright = "All rights reserved - 2006-" +disqusShortname = "" +enableRobotsTXT = true +googleAnalytics = "" +languageCode = "en-us" preserveTaxonomyNames = true -renderer.unsafe = true -#canonifyurls = true - +theme = "hugo-flex" +title = "duckland.org" [pagination] - pagerSize = 5 + pagerSize = 3 [taxonomies] category = "categories" tag = "tags" series = "series" +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true + [privacy] - # Google Analytics privacy settings - https://gohugo.io/about/hugo-and-gdpr/index.html#googleanalytics [privacy.googleAnalytics] # set to true to disable service disable = true - # set to true to meet General Data Protection Regulation (GDPR) anonymizeIP = true respectDoNotTrack = true useSessionStorage = true [params] - email = "duck@duckland.org" + defaultTheme = "dark" + contentTypeName = "post" + fullWidthTheme = true slogan = "Random Quacking" description = "Random Quacking" header_image = "/photos/Travel/China/P1215426.jpg" #logo = "/photos/Travel/China/P1215426.jpg" cover = "/photos/Travel/China/P1215426.jpg" - author = "Don Harper" - authorlink = "https://www.duckland.org/" + # author = "Don Harper" + # email = "duck@duckland.org" + # authorlink = "https://www.duckland.org/" bio = [ "Don is a computer guy stumbling through life trying to raise his kids and take some pictures" ] + footer = "© 2006- Don Harper" copyright = [ - "© 2006-2021 Don Harper" + "© 2006- Don Harper" ] authorlocation = "" authorwebsite = "https://www.duckland.org" #logo = "images/user.png" githubName = "duckunix" - twitterName = "duckunix" + twitterName = "https://fosstodon.org/@duckunix" # set true if you are not proud of using Hugo (true will hide the footer note "Proudly published with HUGO.....") hideHUGOSupport = false showtoc = false enableAutoDarkMode = true # Nav links in the side bar - [[menu.global]] + [params.author] + author = "Don Harper" + email = "duck@duckland.org" + + [[menu.main]] name = "Home" url = "/" - weight = 1 - - [[menu.global]] - name = "About" - url = "/stories/about/" weight = 2 - [[menu.global]] - name = "Privacy" - url = "/stories/privacy/" + [[menu.main]] + name = "Posts" + url = "/posts/" weight = 3 - [[menu.global]] - name = "Photo Galleries" - url = "/photos/" + [[menu.main]] + name = "About" + url = "/stories/about/" + weight = 1 + + [[menu.main]] + name = "Privacy" + url = "/stories/privacy/" weight = 4 + [[menu.main]] + name = "Photos" + url = "/photos/" + weight = 8 + [[menu.footer]] name = "About" url = "/stories/about/" - [[menu.global]] + [[menu.main]] name = "Categories" url = "/categories/" weight = 5 - [[menu.global]] + [[menu.main]] name = "Tags" url = "/tags/" weight = 6 - #[[menu.global]] + #[[menu.main]] #name = "Get in touch" #url = "contact/" #weight = 5 @@ -96,7 +108,7 @@ renderer.unsafe = true # this will also be in author bio if there is no writer. [params.social] email = "duck@duckland.org" - #twitter = "https://twitter.com/duckunix" + twitter = "https://fosstodon.org/@duckunix" linkedin = "https://www.linkedin.com/in/donaldharper/" mastodon = "https://fosstodon.org/@duckunix" #stackoverflow = "full profile url in stackoverflow" @@ -110,7 +122,7 @@ renderer.unsafe = true bio = [ "Don is a computer guy stumbling through life trying to raise his kids and take some pictures" ] - twitter = "https://twitter.com/duckunix" + twitter = "https://fosstodon.org/@duckunix" linkedin = "https://www.linkedin.com/in/donaldharper/" instagram = "https://www.instagram.com/duckunix/" github = "https://github.com/duckunix" diff --git a/justfile b/justfile new file mode 100644 index 00000000..a0c1c163 --- /dev/null +++ b/justfile @@ -0,0 +1,19 @@ +TARGET := `basename $(pwd)` +PRIMARY := "w2" +PDIR := "/srv/http/www." +SECONDARY := "w1" + +# Deploy to primary +deploy: + @hugo + @rsync -e ssh -i /home/don/.ssh/git --delete -a public/ {{PRIMARY}}:{{PDIR}}{{TARGET}}/ + @ssh -i /home/don/.ssh/git {{PRIMARY}} chmod -R a+rX {{PDIR}}{{TARGET}} + +# Deploy to dev +dev: + @hugo --buildDrafts --buildFuture --quiet -b https://dev.{{TARGET}}/ + @rsync -e ssh -i /home/don/.ssh/git --delete -a public/ {{SECONDARY}}:www/www.{{TARGET}}/ + +# Run local test server +test: + @hugo serve --buildDrafts --buildFuture diff --git a/static/.htaccess b/static/.htaccess old mode 100644 new mode 100755 diff --git a/static/css/hugo-easy-gallery.css b/static/css/hugo-easy-gallery.css old mode 100644 new mode 100755 diff --git a/static/js/load-photoswipe.js b/static/js/load-photoswipe.js old mode 100644 new mode 100755 diff --git a/static/live_at_the_neo_oct_18th_1997.zip b/static/live_at_the_neo_oct_18th_1997.zip deleted file mode 100644 index f72bbd71..00000000 Binary files a/static/live_at_the_neo_oct_18th_1997.zip and /dev/null differ diff --git a/static/photos/Christmas/2008/index.html b/static/photos/Christmas/2008/index.html index 34cfcb17..6fb6153f 100644 --- a/static/photos/Christmas/2008/index.html +++ b/static/photos/Christmas/2008/index.html @@ -15,7 +15,7 @@ @@ -52,18 +52,18 @@ + + + + + +
+

+ © Don Harper + Generated by sigal +

+
+ + \ No newline at end of file diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506085035434-0500.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506085035434-0500.webp new file mode 100644 index 00000000..1f46565d Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506085035434-0500.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506101920455-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506101920455-0600.webp new file mode 100644 index 00000000..4b6aa216 Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506101920455-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506131724339-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506131724339-0600.webp new file mode 100644 index 00000000..c088e274 Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506131724339-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506131726858-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506131726858-0600.webp new file mode 100644 index 00000000..bc21904d Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506131726858-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506132522912-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506132522912-0600.webp new file mode 100644 index 00000000..825e8a5d Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506132522912-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506172420061-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506172420061-0600.webp new file mode 100644 index 00000000..9c180bfc Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240506172420061-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507053040090-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507053040090-0600.webp new file mode 100644 index 00000000..cbd32b73 Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507053040090-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507075329594-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507075329594-0600.webp new file mode 100644 index 00000000..b93f1900 Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507075329594-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507215954375-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507215954375-0600.webp new file mode 100644 index 00000000..29815346 Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507215954375-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507220426535-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507220426535-0600.webp new file mode 100644 index 00000000..21965ec7 Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240507220426535-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240508151600228-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240508151600228-0600.webp new file mode 100644 index 00000000..84b1cce5 Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240508151600228-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509100252373-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509100252373-0600.webp new file mode 100644 index 00000000..16753adf Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509100252373-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509140806917-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509140806917-0600.webp new file mode 100644 index 00000000..61581c1b Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509140806917-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509165602149-0600.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509165602149-0600.webp new file mode 100644 index 00000000..6a5691bd Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509165602149-0600.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509192322242-0500.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509192322242-0500.webp new file mode 100644 index 00000000..e6043ec0 Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509192322242-0500.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509194107453-0500.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509194107453-0500.webp new file mode 100644 index 00000000..fc5e61dc Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509194107453-0500.webp differ diff --git a/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509200403153-0500.webp b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509200403153-0500.webp new file mode 100644 index 00000000..ac7e1c8f Binary files /dev/null and b/static/photos/Travel/US/Denver-CO-2024-05/thumbnails/20240509200403153-0500.webp differ diff --git a/static/photos/Travel/US/Galveston-2015-07/index.html b/static/photos/Travel/US/Galveston-2015-07/index.html index f177ec0a..1e93f468 100644 --- a/static/photos/Travel/US/Galveston-2015-07/index.html +++ b/static/photos/Travel/US/Galveston-2015-07/index.html @@ -15,7 +15,7 @@ @@ -53,112 +53,16 @@ - -``` - -When you use `--watch`, the Live Reload script is added by Hugo. Look for live reload in the documentation to see what it does and how to disable it. - -### Build a "Dynamic" Home Page - -"Dynamic home page?" Hugo's a static web site generator, so this seems an odd thing to say. I mean let's have the home page automatically reflect the content in the site every time Hugo builds it. We'll use iteration in the template to do that. - -#### Create New Posts - -Now that we have the home page generating static content, let's add some content to the site. We'll display these posts as a list on the home page and on their own page, too. - -Hugo has a command to generate a skeleton post, just like it does for sites and themes. - -``` -$ hugo --verbose new post/first.md -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 attempting to create post/first.md of post -INFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/default.md -ERROR: 2014/09/29 Unable to Cast to map[string]interface{} - -$ -``` - -That wasn't very nice, was it? - -The "new" command uses an archetype to create the post file. Hugo created an empty default archetype file, but that causes an error when there's a theme. For me, the workaround was to create an archetypes file specifically for the post type. - -``` -$ vi themes/zafta/archetypes/post.md -+++ -Description = "" -Tags = [] -Categories = [] -+++ -:wq - -$ find themes/zafta/archetypes -type f | xargs ls -l --rw-r--r-- 1 quoha staff 0 Sep 29 21:53 themes/zafta/archetypes/default.md --rw-r--r-- 1 quoha staff 51 Sep 29 21:54 themes/zafta/archetypes/post.md - -$ hugo --verbose new post/first.md -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 attempting to create post/first.md of post -INFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/post.md -INFO: 2014/09/29 creating /Users/quoha/Sites/zafta/content/post/first.md -/Users/quoha/Sites/zafta/content/post/first.md created - -$ hugo --verbose new post/second.md -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 attempting to create post/second.md of post -INFO: 2014/09/29 curpath: /Users/quoha/Sites/zafta/themes/zafta/archetypes/post.md -INFO: 2014/09/29 creating /Users/quoha/Sites/zafta/content/post/second.md -/Users/quoha/Sites/zafta/content/post/second.md created - -$ ls -l content/post -total 16 --rw-r--r-- 1 quoha staff 104 Sep 29 21:54 first.md --rw-r--r-- 1 quoha staff 105 Sep 29 21:57 second.md - -$ cat content/post/first.md -+++ -Categories = [] -Description = "" -Tags = [] -date = "2014-09-29T21:54:53-05:00" -title = "first" - -+++ -my first post - -$ cat content/post/second.md -+++ -Categories = [] -Description = "" -Tags = [] -date = "2014-09-29T21:57:09-05:00" -title = "second" - -+++ -my second post - -$ -``` - -Build the web site and then verify the results. - -``` -$ rm -rf public -$ hugo --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 found taxonomies: map[string]string{"category":"categories", "tag":"tags"} -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -2 pages created -0 tags created -0 categories created -in 4 ms -$ -``` - -The output says that it created 2 pages. Those are our new posts: - -``` -$ find public -type f -name '*.html' | xargs ls -l --rw-r--r-- 1 quoha staff 78 Sep 29 22:13 public/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:13 public/post/first/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:13 public/post/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:13 public/post/second/index.html -$ -``` - -The new files are empty because because the templates used to generate the content are empty. The homepage doesn't show the new content, either. We have to update the templates to add the posts. - -### List and Single Templates - -In Hugo, we have three major kinds of templates. There's the home page template that we updated previously. It is used only by the home page. We also have "single" templates which are used to generate output for a single content file. We also have "list" templates that are used to group multiple pieces of content before generating output. - -Generally speaking, list templates are named "list.html" and single templates are named "single.html." - -There are three other types of templates: partials, content views, and terms. We will not go into much detail on these. - -### Add Content to the Homepage - -The home page will contain a list of posts. Let's update its template to add the posts that we just created. The logic in the template will run every time we build the site. - -``` -$ vi themes/zafta/layouts/index.html - - - - {{ range first 10 .Data.Pages }} -

{{ .Title }}

- {{ end }} - - -:wq - -$ -``` - -Hugo uses the Go template engine. That engine scans the template files for commands which are enclosed between "{{" and "}}". In our template, the commands are: - -1. range -2. .Title -3. end - -The "range" command is an iterator. We're going to use it to go through the first ten pages. Every HTML file that Hugo creates is treated as a page, so looping through the list of pages will look at every file that will be created. - -The ".Title" command prints the value of the "title" variable. Hugo pulls it from the front matter in the Markdown file. - -The "end" command signals the end of the range iterator. The engine loops back to the top of the iteration when it finds "end." Everything between the "range" and "end" is evaluated every time the engine goes through the iteration. In this file, that would cause the title from the first ten pages to be output as heading level one. - -It's helpful to remember that some variables, like .Data, are created before any output files. Hugo loads every content file into the variable and then gives the template a chance to process before creating the HTML files. - -Build the web site and then verify the results. - -``` -$ rm -rf public -$ hugo --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 found taxonomies: map[string]string{"tag":"tags", "category":"categories"} -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -2 pages created -0 tags created -0 categories created -in 4 ms -$ find public -type f -name '*.html' | xargs ls -l --rw-r--r-- 1 quoha staff 94 Sep 29 22:23 public/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:23 public/post/first/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:23 public/post/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:23 public/post/second/index.html -$ cat public/index.html - - - - -

second

- -

first

- - - -$ -``` - -Congratulations, the home page shows the title of the two posts. The posts themselves are still empty, but let's take a moment to appreciate what we've done. Your template now generates output dynamically. Believe it or not, by inserting the range command inside of those curly braces, you've learned everything you need to know to build a theme. All that's really left is understanding which template will be used to generate each content file and becoming familiar with the commands for the template engine. - -And, if that were entirely true, this tutorial would be much shorter. There are a few things to know that will make creating a new template much easier. Don't worry, though, that's all to come. - -### Add Content to the Posts - -We're working with posts, which are in the content/post/ directory. That means that their section is "post" (and if we don't do something weird, their type is also "post"). - -Hugo uses the section and type to find the template file for every piece of content. Hugo will first look for a template file that matches the section or type name. If it can't find one, then it will look in the _default/ directory. There are some twists that we'll cover when we get to categories and tags, but for now we can assume that Hugo will try post/single.html, then _default/single.html. - -Now that we know the search rule, let's see what we actually have available: - -``` -$ find themes/zafta -name single.html | xargs ls -l --rw-r--r-- 1 quoha staff 132 Sep 29 17:31 themes/zafta/layouts/_default/single.html -``` - -We could create a new template, post/single.html, or change the default. Since we don't know of any other content types, let's start with updating the default. - -Remember, any content that we haven't created a template for will end up using this template. That can be good or bad. Bad because I know that we're going to be adding different types of content and we're going to end up undoing some of the changes we've made. It's good because we'll be able to see immediate results. It's also good to start here because we can start to build the basic layout for the site. As we add more content types, we'll refactor this file and move logic around. Hugo makes that fairly painless, so we'll accept the cost and proceed. - -Please see the Hugo documentation on template rendering for all the details on determining which template to use. And, as the docs mention, if you're building a single page application (SPA) web site, you can delete all of the other templates and work with just the default single page. That's a refreshing amount of joy right there. - -#### Update the Template File - -``` -$ vi themes/zafta/layouts/_default/single.html - - - - {{ .Title }} - - -

{{ .Title }}

- {{ .Content }} - - -:wq - -$ -``` - -Build the web site and verify the results. - -``` -$ rm -rf public -$ hugo --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 found taxonomies: map[string]string{"tag":"tags", "category":"categories"} -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -2 pages created -0 tags created -0 categories created -in 4 ms - -$ find public -type f -name '*.html' | xargs ls -l --rw-r--r-- 1 quoha staff 94 Sep 29 22:40 public/index.html --rw-r--r-- 1 quoha staff 125 Sep 29 22:40 public/post/first/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:40 public/post/index.html --rw-r--r-- 1 quoha staff 128 Sep 29 22:40 public/post/second/index.html - -$ cat public/post/first/index.html - - - - first - - -

first

-

my first post

- - - - -$ cat public/post/second/index.html - - - - second - - -

second

-

my second post

- - - -$ -``` - -Notice that the posts now have content. You can go to localhost:1313/post/first to verify. - -### Linking to Content - -The posts are on the home page. Let's add a link from there to the post. Since this is the home page, we'll update its template. - -``` -$ vi themes/zafta/layouts/index.html - - - - {{ range first 10 .Data.Pages }} -

{{ .Title }}

- {{ end }} - - -``` - -Build the web site and verify the results. - -``` -$ rm -rf public -$ hugo --verbose -INFO: 2014/09/29 Using config file: /Users/quoha/Sites/zafta/config.toml -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/themes/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 syncing from /Users/quoha/Sites/zafta/static/ to /Users/quoha/Sites/zafta/public/ -INFO: 2014/09/29 found taxonomies: map[string]string{"tag":"tags", "category":"categories"} -WARN: 2014/09/29 Unable to locate layout: [404.html theme/404.html] -0 draft content -0 future content -2 pages created -0 tags created -0 categories created -in 4 ms - -$ find public -type f -name '*.html' | xargs ls -l --rw-r--r-- 1 quoha staff 149 Sep 29 22:44 public/index.html --rw-r--r-- 1 quoha staff 125 Sep 29 22:44 public/post/first/index.html --rw-r--r-- 1 quoha staff 0 Sep 29 22:44 public/post/index.html --rw-r--r-- 1 quoha staff 128 Sep 29 22:44 public/post/second/index.html - -$ cat public/index.html - - - - -

second

- -

first

- - - - -$ -``` - -### Create a Post Listing - -We have the posts displaying on the home page and on their own page. We also have a file public/post/index.html that is empty. Let's make it show a list of all posts (not just the first ten). - -We need to decide which template to update. This will be a listing, so it should be a list template. Let's take a quick look and see which list templates are available. - -``` -$ find themes/zafta -name list.html | xargs ls -l --rw-r--r-- 1 quoha staff 0 Sep 29 17:31 themes/zafta/layouts/_default/list.html -``` - -As with the single post, we have to decide to update _default/list.html or create post/list.html. We still don't have multiple content types, so let's stay consistent and update the default list template. - -## Creating Top Level Pages - -Let's add an "about" page and display it at the top level (as opposed to a sub-level like we did with posts). - -The default in Hugo is to use the directory structure of the content/ directory to guide the location of the generated html in the public/ directory. Let's verify that by creating an "about" page at the top level: - -``` -$ vi content/about.md -+++ -title = "about" -description = "about this site" -date = "2014-09-27" -slug = "about time" -+++ - -## about us - -i'm speechless -:wq -``` - -Generate the web site and verify the results. - -``` -$ find public -name '*.html' | xargs ls -l --rw-rw-r-- 1 mdhender staff 334 Sep 27 15:08 public/about-time/index.html --rw-rw-r-- 1 mdhender staff 527 Sep 27 15:08 public/index.html --rw-rw-r-- 1 mdhender staff 358 Sep 27 15:08 public/post/first-post/index.html --rw-rw-r-- 1 mdhender staff 0 Sep 27 15:08 public/post/index.html --rw-rw-r-- 1 mdhender staff 342 Sep 27 15:08 public/post/second-post/index.html -``` - -Notice that the page wasn't created at the top level. It was created in a sub-directory named 'about-time/'. That name came from our slug. Hugo will use the slug to name the generated content. It's a reasonable default, by the way, but we can learn a few things by fighting it for this file. - -One other thing. Take a look at the home page. - -``` -$ cat public/index.html - - - -

creating a new theme

-

about

-

second

-

first

- - -``` - -Notice that the "about" link is listed with the posts? That's not desirable, so let's change that first. - -``` -$ vi themes/zafta/layouts/index.html - - - -

posts

- {{ range first 10 .Data.Pages }} - {{ if eq .Type "post"}} -

{{ .Title }}

- {{ end }} - {{ end }} - -

pages

- {{ range .Data.Pages }} - {{ if eq .Type "page" }} -

{{ .Title }}

- {{ end }} - {{ end }} - - -:wq -``` - -Generate the web site and verify the results. The home page has two sections, posts and pages, and each section has the right set of headings and links in it. - -But, that about page still renders to about-time/index.html. - -``` -$ find public -name '*.html' | xargs ls -l --rw-rw-r-- 1 mdhender staff 334 Sep 27 15:33 public/about-time/index.html --rw-rw-r-- 1 mdhender staff 645 Sep 27 15:33 public/index.html --rw-rw-r-- 1 mdhender staff 358 Sep 27 15:33 public/post/first-post/index.html --rw-rw-r-- 1 mdhender staff 0 Sep 27 15:33 public/post/index.html --rw-rw-r-- 1 mdhender staff 342 Sep 27 15:33 public/post/second-post/index.html -``` - -Knowing that hugo is using the slug to generate the file name, the simplest solution is to change the slug. Let's do it the hard way and change the permalink in the configuration file. - -``` -$ vi config.toml -[permalinks] - page = "/:title/" - about = "/:filename/" -``` - -Generate the web site and verify that this didn't work. Hugo lets "slug" or "URL" override the permalinks setting in the configuration file. Go ahead and comment out the slug in content/about.md, then generate the web site to get it to be created in the right place. - -## Sharing Templates - -If you've been following along, you probably noticed that posts have titles in the browser and the home page doesn't. That's because we didn't put the title in the home page's template (layouts/index.html). That's an easy thing to do, but let's look at a different option. - -We can put the common bits into a shared template that's stored in the themes/zafta/layouts/partials/ directory. - -### Create the Header and Footer Partials - -In Hugo, a partial is a sugar-coated template. Normally a template reference has a path specified. Partials are different. Hugo searches for them along a TODO defined search path. This makes it easier for end-users to override the theme's presentation. - -``` -$ vi themes/zafta/layouts/partials/header.html - - - - {{ .Title }} - - -:wq - -$ vi themes/zafta/layouts/partials/footer.html - - -:wq -``` - -### Update the Home Page Template to Use the Partials - -The most noticeable difference between a template call and a partials call is the lack of path: - -``` -{{ template "theme/partials/header.html" . }} -``` -versus -``` -{{ partial "header.html" . }} -``` -Both pass in the context. - -Let's change the home page template to use these new partials. - -``` -$ vi themes/zafta/layouts/index.html -{{ partial "header.html" . }} - -

posts

- {{ range first 10 .Data.Pages }} - {{ if eq .Type "post"}} -

{{ .Title }}

- {{ end }} - {{ end }} - -

pages

- {{ range .Data.Pages }} - {{ if or (eq .Type "page") (eq .Type "about") }} -

{{ .Type }} - {{ .Title }} - {{ .RelPermalink }}

- {{ end }} - {{ end }} - -{{ partial "footer.html" . }} -:wq -``` - -Generate the web site and verify the results. The title on the home page is now "your title here", which comes from the "title" variable in the config.toml file. - -### Update the Default Single Template to Use the Partials - -``` -$ vi themes/zafta/layouts/_default/single.html -{{ partial "header.html" . }} - -

{{ .Title }}

- {{ .Content }} - -{{ partial "footer.html" . }} -:wq -``` - -Generate the web site and verify the results. The title on the posts and the about page should both reflect the value in the markdown file. - -## Add “Date Published” to Posts - -It's common to have posts display the date that they were written or published, so let's add that. The front matter of our posts has a variable named "date." It's usually the date the content was created, but let's pretend that's the value we want to display. - -### Add “Date Published” to the Template - -We'll start by updating the template used to render the posts. The template code will look like: - -``` -{{ .Date.Format "Mon, Jan 2, 2006" }} -``` - -Posts use the default single template, so we'll change that file. - -``` -$ vi themes/zafta/layouts/_default/single.html -{{ partial "header.html" . }} - -

{{ .Title }}

-

{{ .Date.Format "Mon, Jan 2, 2006" }}

- {{ .Content }} - -{{ partial "footer.html" . }} -:wq -``` - -Generate the web site and verify the results. The posts now have the date displayed in them. There's a problem, though. The "about" page also has the date displayed. - -As usual, there are a couple of ways to make the date display only on posts. We could do an "if" statement like we did on the home page. Another way would be to create a separate template for posts. - -The "if" solution works for sites that have just a couple of content types. It aligns with the principle of "code for today," too. - -Let's assume, though, that we've made our site so complex that we feel we have to create a new template type. In Hugo-speak, we're going to create a section template. - -Let's restore the default single template before we forget. - -``` -$ mkdir themes/zafta/layouts/post -$ vi themes/zafta/layouts/_default/single.html -{{ partial "header.html" . }} - -

{{ .Title }}

- {{ .Content }} - -{{ partial "footer.html" . }} -:wq -``` - -Now we'll update the post's version of the single template. If you remember Hugo's rules, the template engine will use this version over the default. - -``` -$ vi themes/zafta/layouts/post/single.html -{{ partial "header.html" . }} - -

{{ .Title }}

-

{{ .Date.Format "Mon, Jan 2, 2006" }}

- {{ .Content }} - -{{ partial "footer.html" . }} -:wq - -``` - -Note that we removed the date logic from the default template and put it in the post template. Generate the web site and verify the results. Posts have dates and the about page doesn't. - -### Don't Repeat Yourself - -DRY is a good design goal and Hugo does a great job supporting it. Part of the art of a good template is knowing when to add a new template and when to update an existing one. While you're figuring that out, accept that you'll be doing some refactoring. Hugo makes that easy and fast, so it's okay to delay splitting up a template. diff --git a/themes/minimage/exampleSite/content/post/goisforlovers.md b/themes/minimage/exampleSite/content/post/goisforlovers.md deleted file mode 100644 index 15553a65..00000000 --- a/themes/minimage/exampleSite/content/post/goisforlovers.md +++ /dev/null @@ -1,345 +0,0 @@ -+++ -title = "(Hu)go Template Primer" -description = "aaaaaaaaaaaa" -tags = [ - "go", - "golang", - "templates", - "themes", - "development", -] -date = "2014-04-02" -image = 'img/hot_sunny_weather.jpg' -categories = [ - "Development", - "golang", -] -menu = "main" -+++ - -Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for -its template engine. It is an extremely lightweight engine that provides a very -small amount of logic. In our experience that it is just the right amount of -logic to be able to create a good static website. If you have used other -template systems from different languages or frameworks you will find a lot of -similarities in go templates. - -This document is a brief primer on using go templates. The [go docs][gohtmltemplate] -provide more details. - -## Introduction to Go Templates - -Go templates provide an extremely simple template language. It adheres to the -belief that only the most basic of logic belongs in the template or view layer. -One consequence of this simplicity is that go templates parse very quickly. - -A unique characteristic of go templates is they are content aware. Variables and -content will be sanitized depending on the context of where they are used. More -details can be found in the [go docs][gohtmltemplate]. - -## Basic Syntax - -Go lang templates are html files with the addition of variables and -functions. - -**Go variables and functions are accessible within {{ }}** - -Accessing a predefined variable "foo": - - {{ foo }} - -**Parameters are separated using spaces** - -Calling the add function with input of 1, 2: - - {{ add 1 2 }} - -**Methods and fields are accessed via dot notation** - -Accessing the Page Parameter "bar" - - {{ .Params.bar }} - -**Parentheses can be used to group items together** - - {{ if or (isset .Params "alt") (isset .Params "caption") }} Caption {{ end }} - - -## Variables - -Each go template has a struct (object) made available to it. In hugo each -template is passed either a page or a node struct depending on which type of -page you are rendering. More details are available on the -[variables](/layout/variables) page. - -A variable is accessed by referencing the variable name. - - {{ .Title }} - -Variables can also be defined and referenced. - - {{ $address := "123 Main St."}} - {{ $address }} - - -## Functions - -Go template ship with a few functions which provide basic functionality. The go -template system also provides a mechanism for applications to extend the -available functions with their own. [Hugo template -functions](/layout/functions) provide some additional functionality we believe -are useful for building websites. Functions are called by using their name -followed by the required parameters separated by spaces. Template -functions cannot be added without recompiling hugo. - -**Example:** - - {{ add 1 2 }} - -## Includes - -When including another template you will pass to it the data it will be -able to access. To pass along the current context please remember to -include a trailing dot. The templates location will always be starting at -the /layout/ directory within Hugo. - -**Example:** - - {{ template "chrome/header.html" . }} - - -## Logic - -Go templates provide the most basic iteration and conditional logic. - -### Iteration - -Just like in go, the go templates make heavy use of range to iterate over -a map, array or slice. The following are different examples of how to use -range. - -**Example 1: Using Context** - - {{ range array }} - {{ . }} - {{ end }} - -**Example 2: Declaring value variable name** - - {{range $element := array}} - {{ $element }} - {{ end }} - -**Example 2: Declaring key and value variable name** - - {{range $index, $element := array}} - {{ $index }} - {{ $element }} - {{ end }} - -### Conditionals - -If, else, with, or, & and provide the framework for handling conditional -logic in Go Templates. Like range, each statement is closed with `end`. - - -Go Templates treat the following values as false: - -* false -* 0 -* any array, slice, map, or string of length zero - -**Example 1: If** - - {{ if isset .Params "title" }}

{{ index .Params "title" }}

{{ end }} - -**Example 2: If -> Else** - - {{ if isset .Params "alt" }} - {{ index .Params "alt" }} - {{else}} - {{ index .Params "caption" }} - {{ end }} - -**Example 3: And & Or** - - {{ if and (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}} - -**Example 4: With** - -An alternative way of writing "if" and then referencing the same value -is to use "with" instead. With rebinds the context `.` within its scope, -and skips the block if the variable is absent. - -The first example above could be simplified as: - - {{ with .Params.title }}

{{ . }}

{{ end }} - -**Example 5: If -> Else If** - - {{ if isset .Params "alt" }} - {{ index .Params "alt" }} - {{ else if isset .Params "caption" }} - {{ index .Params "caption" }} - {{ end }} - -## Pipes - -One of the most powerful components of go templates is the ability to -stack actions one after another. This is done by using pipes. Borrowed -from unix pipes, the concept is simple, each pipeline's output becomes the -input of the following pipe. - -Because of the very simple syntax of go templates, the pipe is essential -to being able to chain together function calls. One limitation of the -pipes is that they only can work with a single value and that value -becomes the last parameter of the next pipeline. - -A few simple examples should help convey how to use the pipe. - -**Example 1 :** - - {{ if eq 1 1 }} Same {{ end }} - -is the same as - - {{ eq 1 1 | if }} Same {{ end }} - -It does look odd to place the if at the end, but it does provide a good -illustration of how to use the pipes. - -**Example 2 :** - - {{ index .Params "disqus_url" | html }} - -Access the page parameter called "disqus_url" and escape the HTML. - -**Example 3 :** - - {{ if or (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}} - Stuff Here - {{ end }} - -Could be rewritten as - - {{ isset .Params "caption" | or isset .Params "title" | or isset .Params "attr" | if }} - Stuff Here - {{ end }} - - -## Context (aka. the dot) - -The most easily overlooked concept to understand about go templates is that {{ . }} -always refers to the current context. In the top level of your template this -will be the data set made available to it. Inside of a iteration it will have -the value of the current item. When inside of a loop the context has changed. . -will no longer refer to the data available to the entire page. If you need to -access this from within the loop you will likely want to set it to a variable -instead of depending on the context. - -**Example:** - - {{ $title := .Site.Title }} - {{ range .Params.tags }} -
  • {{ . }} - {{ $title }}
  • - {{ end }} - -Notice how once we have entered the loop the value of {{ . }} has changed. We -have defined a variable outside of the loop so we have access to it from within -the loop. - -# Hugo Parameters - -Hugo provides the option of passing values to the template language -through the site configuration (for sitewide values), or through the meta -data of each specific piece of content. You can define any values of any -type (supported by your front matter/config format) and use them however -you want to inside of your templates. - - -## Using Content (page) Parameters - -In each piece of content you can provide variables to be used by the -templates. This happens in the [front matter](/content/front-matter). - -An example of this is used in this documentation site. Most of the pages -benefit from having the table of contents provided. Sometimes the TOC just -doesn't make a lot of sense. We've defined a variable in our front matter -of some pages to turn off the TOC from being displayed. - -Here is the example front matter: - -``` ---- -title: "Permalinks" -date: "2013-11-18" -aliases: - - "/doc/permalinks/" -groups: ["extras"] -groups_weight: 30 -notoc: true ---- -``` - -Here is the corresponding code inside of the template: - - {{ if not .Params.notoc }} -
    - {{ .TableOfContents }} -
    - {{ end }} - - - -## Using Site (config) Parameters -In your top-level configuration file (eg, `config.yaml`) you can define site -parameters, which are values which will be available to you in chrome. - -For instance, you might declare: - -```yaml -params: - CopyrightHTML: "Copyright © 2013 John Doe. All Rights Reserved." - TwitterUser: "spf13" - SidebarRecentLimit: 5 -``` - -Within a footer layout, you might then declare a `