Skip to content

A CYBERTEC themed fork of the geekdoc hugo theme

License

Notifications You must be signed in to change notification settings

cybertec-postgresql/hugo_documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo documentation

A CYBERTEC themed "fork" of the geekdoc theme for hugo.

Requirements

  • go
  • hugo

Usage

Initialize a new hugo site:

hugo new site <site-name>
cd <site-name>

Initialize the site as a go module:

hugo mod init github.com/cybertec-postgresql/<repository-name>

Add the following to your hugo.toml to use this theme, including functional code-highlighting:

# hugo.toml
pygmentsCodeFences = true
pygmentsUseClasses = true

[module]
[[module.imports]]
path = 'github.com/cybertec-postgresql/hugo_documentation'

Fetch the module

hugo mod get -u

Build your page

hugo --minify
# You may optionally overwrite the `baseURL`
hugo --minify -b "/docs/"

Update

To retrieve the latest version of this theme, simply run

hugo mod get -u
hugo mod tidy

"Fork"

This repository uses the built release, taken from https://github.com/thegeeklab/hugo-geekdoc/releases/latest/download/hugo-geekdoc.tar.gz.

The following customizations have been done to achieve a CYBERTEC look and feel:

  • Use the CYBERTEC logo in ./static/brand.svg
  • Add the ./config/_default/hugo.toml config

In case that geekdoc is updated, we will have to fetch the latest release, merge those files into this repository, and handle possible merge conflicts.

About

A CYBERTEC themed fork of the geekdoc hugo theme

Resources

License

Stars

Watchers

Forks