Skip to content

pass-the-salt/www-hugo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

www website (powered by Hugo, a Go static website generator)

All the code required to generate the www.pass-the-salt.org website.

Installation

apt install hugo

or visit https://gohugo.io/installation/linux/ and take the Extended edition.

Get the source files

Clone this Github repo: git clone https://github.com/pass-the-salt/www-hugo.git

Modify content

Some indications about the different directories and files:

  • config.toml: contains global parameters of the site (title, logo, lang, top and bottom menu content) but also homepage content in the tiles items.

  • themes/forty/layouts/: several directories containing all HTML templates of the Vex theme.

  • content/: Markdown content of individual pages.

  • static/: images and files.

  • public/: HTML pages generated by the Hugo engine.

  • hooking: each push on the Github repo will activate a webhook (URL: https://www.pass-the-salt.org/cgi-bin/update.cgi). The hook content is in the cgi-bin/update.cgi file. The script launched by the hook will check if updates exist on Github repo. If it is the case, it fetchs them to /var/www/2024 directory on the server and then, rsync the content of the public/ sub directory with the content of the website located in /var/www/2024-passthesalt.

About

Repo storing www.pass-the-salt.org website generated with Hugo static website generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors