Dark Mode

Say hello to the dark mode of the Geekblog theme! The dark mode can be used in two different ways. If you have JavaScript disabled in your browser, the dark mode automatically detects the preferred system settings via the prefers-color-scheme parameter. Depending on the value, the theme will automatically switch between dark and light mode if this feature is supported by your operating system and browser. The second mode requires JavaScript and is controlled by a dark mode switch in the upper right corner.
Read full post

Includes

Examples Markdown file (default) Language files Special include types HTML Pages Include shortcode can include files of different types. By specifying a language, the included file will have syntax highlighting. {{< include file="relative/path/from/hugo/root" language="go" markdown=[false|true] >}}Attributes: Name Usage default file path to the included file relative to the Hugo root undefined language language for syntax highlighting undefined type special include type (html,page) undefined options highlighting options linenos=table Examples Markdown file (default) If no other options are specified, files will be rendered as Markdown using the RenderString function.
Read full post