Skip to content

DarFig/darfig-hugo-theme

Repository files navigation

darfig-hugo-theme

custom hugo-theme see gohugo

Config

set config.toml:

Set values:

baseURL = "."
languageCode = "<lenguageCode>"
title = "<siteTitle>"
theme = "darfig-hugo-theme"


[params]
    UserIcon = "<user icon url>"
    AuthorName = "<name>"
    GitHubuser = "<git user>"
[markup]
  [markup.tableOfContents]
    endLevel = 5
    ordered = false
    startLevel = 1

Tree

├── content

│   ├── about.md

│   ├── recommended.md

│   ├── projPreviewImage.jpg/svg/png

│   ├── posts

│   │   ├── post1.md

│   │   ├── post2.md

│   │   └── post3.md

│   └── projects

│   └── project.md

Set image project preview

Put image: "projPreviewImage.svg" in the markdown project file. And set image under content/ folder.

recommended sites

Create a content/recommended.md file with:

---
title: "recommended sites"
type: "recommended"
---

- ![webtitle](url1)
- ![webtitle](url2)

Theme

Color Palette

palette

Screenshots

general

general1

posts

small