Skip to content

gj52/HugoSample

Repository files navigation

This is a condensed Hugo sample.

**Always using the latest HUGO version! Must have Version 0.123.0 or newer!

After multiple commits please wait some days - work in progress!

What to find here?

Should work with the latest Hugo version (give me some days).

  • started with the ARIA theme, but changed it mostly - don't compare it.
  • changed CSS to tachyons - see /links
  • changed the main layout to grid and made it responsive
  • added photo / gallery with the help of fancybox see /links
  • added photo / panorama with help of OpenSeaDragon see /links
  • added own taxonimy templates for tags and series
  • added local search - thanks to http://tanjabecker.de/
  • added MathJax for using math formulas
  • added hook renders for images, header and links - see _default/_markup
  • added render hooks for MathJax, GoAT and MerMaid
  • image renderer generates different sizes (srclist) and embedded preview
  • added feeds: RSS, ATOM and JSON
  • using different outputFormats for feeds, search, sitemap etc..
  • splitted config for site and theme
  • added light and dark theme
  • added CSP
  • added the new template functions of version 0.112
  • printing - added link list
  • 0.123
    • site.LastChange -> site.Lastmod
    • .GetJSON to .GET

OK, most content is in German, but this does not matter to see how it works. I verify the generated files (HTML, XML, JSON etc..) to have correct outputs.

For a beginner mostly too complicated ...


You are free to use my samples.