Viet's Blog

Rss

Permalinks, Tags, Images, RSS, Sitemap

  • Apr 30, 2017
  • POST
From the previous post, you already know how to use a Hugo theme, write a new entry. Now you want to add tags, permalinks and images for better reading experience. Add Permalinks & Tags By default Hugo does not give you tags, categories and permalinks. This can be quickly remedied by updating your config.toml file: baseURL = "http://vietlq.github.io/" languageCode = "en-us" title = "Viet's Blog" theme = "hugo-geo" [permalinks] post = "/:year/:month/:day/:title/" [taxonomies] category = "categories" tag = "tags" [params] # To satisfy hugo-geo theme header = "Viet's Blog" Author = "Viet Le" Now add tags = ["go", "hugo", "git", "blog", "config", "setup"] to front matter of your entry.
LATESTS
Make Grub Font Size Bigger
  • Sep 22, 2019
  • POST
Endianness Agnostic ntoh
  • Jun 22, 2019
  • POST
Upcoming Posts
  • Jun 15, 2019
  • POST
Taming Elementary OS
  • May 11, 2019
  • POST
Fix Wifi for Ubuntu on Microsoft Surface
  • May 11, 2019
  • POST
Endianness Detection the Hard Way
  • Jun 17, 2018
  • POST
OCaml Packaging With Topkg and OPAM
  • May 28, 2018
  • POST
Safer C++ By Handling Function Result
  • May 12, 2018
  • POST
P2P Browsing Web With Beaker and Dat
  • Mar 31, 2018
  • POST
Edit and Annotate PDF
  • Mar 30, 2018
  • POST
CATEGORIES
TAGS
  • dev
  • tips
  • ubuntu
  • hugo
  • blog
  • c++
  • config
  • git
  • security
  • social-media

© Viet's Blog

Powered by Hugo.

Robust designed by Daisuke Tsuji.