Go to file
fha 1a45dfe010 Adding root content to git ignore. To prevent accidently uploading it again when working on the template. 2024-09-21 21:07:26 +02:00
archetypes Initial Upload 2024-09-01 16:27:23 +02:00
assets Added support for BlockQuotes customization. 2024-09-20 22:18:52 +02:00
exampleSite Added SampleSite to generate sample website and preventing content from being added to project using the theme 2024-09-21 21:00:30 +02:00
layouts Added SampleSite to generate sample website and preventing content from being added to project using the theme 2024-09-21 21:00:30 +02:00
static Initial Upload 2024-09-01 16:27:23 +02:00
.gitignore Adding root content to git ignore. To prevent accidently uploading it again when working on the template. 2024-09-21 21:07:26 +02:00
.hugo_build.lock Initial Upload 2024-09-01 16:27:23 +02:00
LICENSE License 2024-09-01 16:32:27 +02:00
README.md Added support for BlockQuotes customization. 2024-09-20 22:18:52 +02:00
hugo.toml Added support for BlockQuotes customization. 2024-09-20 22:18:52 +02:00
theme.toml update Readme, added mermaid sample 2024-09-01 16:45:18 +02:00

README.md

Theme hugo-theme-fha

Features

Lightweight search functionality based on index file.
Requires

[outputs]
  home = ["HTML", "RSS", "JSON"]

Mermaid

Support for Mermaid schemas.

Photos (soon)

Support photos albums based on Folders.

Syntax Hightlighting

Required configuration to copy paste code :

  [markup.highlight]
    lineNos=true
    lineNumbersInTable=true
    noClasses = false

Curriculum Vitae

Copy /layouts/section/cv.html to you local /layouts/section folder and edited the content.
Save your own picture under /static/img/avatar.jpeg

Add an entry in the about Menu:

  [[menu.nav]]
  name = 'About'
  pageRef = '/about'
  weight = 100
    [[menu.nav]]
    identifier = "pAbout"
    name = "About"
    url = "/about"
    parent = "About"
    weight = 10
    [[menu.nav]]
    identifier = "pCv"
    name = "CV"
    url = "/cv"
    parent = "About"
    weight = 20

It is possible to add cv in other languages

  • Add the content is section (ex:cvfr.html).
  • Add an entry in the nav menu.

BlockQuotes Render Hook

Block quotes are now customizable in the markdown files.
The format is the following :

> [!IMPORTANT]
> Key information users need to know to achieve their goal.

Those are customizable in assets/theme.css.
Currently, the supported Tags are : CAUTION, Important, NOTE, TIP, WARNING, NATURE, CAMPING, METEO, MONEY, DANGER, WIFI.
New Tags can be added by customizing 'render-blockquote-alert.html'.

Installation

Configuration

Favicons

Get Icons from Flaticon.
Generate Favicons with Freepik.
Uncompress the icons in your /static folder.

References