Add Series Taxonomy to Beautiful Hugo Theme

Intro

原本是看到這個 Series 操作就覺得蠻生火的: Add Series Taxonomy to Hugo Theme, 剛好拿來當練習~

Challenges

  1. Profile: Tech Blogger
  2. Jobs
    1. Post great articles with friendly reading experience

Objectives

  1. Achieve better reading exprience with better blog post structure

KRs

  1. 2021-07 Implement Series feature on Hugo blog theme

Content

Voilà

Hugo Template 語法

Git Submodule

Additional Modification

為 Hugo blog 的 SEO og:title 加上 Site.Title 的修改方法

1
2
3
4
5
# themes/beautifulhugo/layouts/partials/seo/opengraph.html

{{- with .Title | default .Site.Title }}
<meta property="og:title" content="{{ $.Title }} | {{$.Site.Title }}" />
{{- end }}

Murmur

  • 2021-07-17 Template 語法讚啦
tech  blog  hugo 

See also