But that would be too easy

This is a navel-gazing simple desultory philippic about adventures in yak-shaving. It is dedicated JTR’s ox-hugo theme I’ve borrowed for the second time. Thanks!

“But you could just use wordpress”

he tells himself.

“Ahh, but then think of all the yak shaving you would miss.”

he responds to himself.

“Opportunity cost, he thinks…”.

“Yessss, preciousssss. The opportunity cost. Gollum. Gollum. Gollum.”

These are notes-to-self on converting my blog to using JTR’ new hugo template.

These are mostly of interest to (my future) self and JTR.

This is round 2 of how I use ox-hugo to pubish my blog. Round 1 is documented here https://curious.galthub.com/blog/hugo-org-github/

1 The work flow

The general work flow is

2 DONE [3/3] Action Items

2.1 DONE [7/7]Testing and figuring out what to chang

2.1.1 DONE Clone the JTR current template

   git clone https://gitlab.com/taonaw/taonaw

2.1.2 DONE Set up new capture template

   (setq org-capture-templates
      (quote (
              ...
             ("h" "hugo blog" entry (file "~/blog/drafts.org")
"*** TODO %^{title}
:PROPERTIES:
:EXPORT_FILE_NAME: %(format-time-string \"%Y-%m-%d\")
:EXPORT_HUGO_PUBLISHDATE: %(format-time-string \"%Y-%m-%d\"):
:END:

The short story ..

#+caption: [[https://FOO.COM/BAR/BAZ.JPG][\"Name of work\" by WHO is licensed under cc by 2.0]]
#+attr_html: :width 200px
[[file:images/BAZ.JPG]]

#+hugo: more

The long story...
"
             )

2.1.3 DONE Update config.toml

diff --git a/config.toml b/config.toml
index f9089c30..abc6cd5c 100644
--- a/config.toml
+++ b/config.toml
@@ -1,17 +1,17 @@
 enableRobotsTXT = true
 canonifyURLs = true
-baseurl = "https://helpdeskheadesk.net/"
+baseurl = "http://curious.galthub.com/"
 publishDir = "docs"
 languageCode = "en-us"
-title = "The Art of Not Asking Why"
+title = "Curious Musings"
 # themesDir = "themes"
 # theme = "hyde"
-disqusShortname = "taonaw"
+#disqusShortname = "curious"
 footnoteReturnLinkContents = "[^ back]"

 [author]
-    name = "JTR"
-    homepage = "helpdeskheadesk.net"
+    name = "George Jones"
+    homepage = "curious.galthub.com"

 # If Porting existing theme
 [original]
@@ -20,7 +20,7 @@ footnoteReturnLinkContents = "[^ back]"
     repo = "https://www.github.com/mdo/hyde"

 [params]
-    description = "A Blog by JTR: Tech, Life, and the Stuff in Between."
+    description = "A Blog by George Jones: Musings on life, computers, security, etc.."
 #    themeColor = "theme-base-0a"

 [paginator]

2.1.4 DONE Update the sidebar

diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 6700d4d7..06ab109f 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -17,6 +17,9 @@
         {{ range .Site.Menus.main -}}
           <li><a href="{{.URL}}"> {{ .Name }} </a></li>
          {{- end }}
+        <!-- ELUDOM - list all my posts -->
+        <h4><a href="/blog/">All Posts ►</a></h4>
+
       </ul>
       <ul class="sidebar-nav">
           <h3>About</h3>
@@ -24,23 +27,25 @@
               <a href="{{ .Site.BaseURL }}/about">Author</a>
             </li>
             <li>
-	      <a href="{{ .Site.BaseURL }}/taonaw">TAONAW</a>
             </li>
+            <!-- ELUDOM - large image at bottom of sidebar -->
+            <img src="/thinker.png">
       </ul>
       <ul class="sidebar-icons">
         <li>
-	  <a href="http://helpdeskheadesk.net/index.xml"><i class="fa fa-rss-square fa-lg" aria-hidden="true"></i></a>
-	</li>
-	<li>
-	  <a href="https://mastodon.technology/@jrss"><i class="fab fa-mastodon fa-lg"></i></a>
+          <!-- ELUDOM - change link to RSS feed  -->
+          <a href="http://blog.galthub.com/index.xml"><i class="fa fa-rss-square fa-lg" aria-hidden="true"></i></a>
         </li>
         <li>
-	  <a href="https://keys.openpgp.org/search?q=brownexitus%40protonmail.com"><i class="fas fa-lock-open fa-lg"></i></a>
+          <!-- ELUDOM - change link to mastadon id  -->
+          <a href="https://fosstodon.com/@eludom"><i class="fab fa-mastodon fa-lg"></i></a>
         </li>
+        <!-- <li> -->
+        <!--   <a href="https://keys.openpgp.org/search?q=brownexitus%40protonmail.com"><i class="fas fa-lock-open fa-lg"></i></a> -->
+        <!-- </li> -->
       </ul>
     </nav>
   </div>
 </aside>

2.1.5 DONE Delete most of JTR’ content

2.1.6 DONE [6/6] Remove/replace JTR’ custom artwork with Thinker

2.2 DONE [2/2] Transition to new template

2.2.1 DONE [6/6] Make a clean version of JTR new template

2.2.2 DONE [5/5] Pair down my old blog (keeping same .git)

2.3 DONE [4/4] Go live

2.3.1 DONE Copy to live site

2.3.2 DONE test, fix any problems

2.3.3 DONE have JTR look at it

2.3.4 DONE fix any problems

TODO 3 [0/1] Future additions

https://karl-voit.at/2020/10/23/avoid-web-forums/


Comments