项目作者: DarFig

项目描述 :
custom hugo-theme
高级语言: HTML
项目地址: git://github.com/DarFig/darfig-hugo-theme.git
创建时间: 2020-03-05T15:49:31Z
项目社区:https://github.com/DarFig/darfig-hugo-theme

开源协议:MIT License

下载


darfig-hugo-theme

custom hugo-theme see gohugo

Config

set config.toml:

Set values:

  1. baseURL = "."
  2. languageCode = "<lenguageCode>"
  3. title = "<siteTitle>"
  4. theme = "darfig-hugo-theme"
  5. [params]
  6. UserIcon = "<user icon url>"
  7. AuthorName = "<name>"
  8. GitHubuser = "<git user>"
  9. [markup]
  10. [markup.tableOfContents]
  11. endLevel = 5
  12. ordered = false
  13. 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.

Create a content/recommended.md file with:

  1. ---
  2. title: "recommended sites"
  3. type: "recommended"
  4. ---
  5. - ![webtitle](url1)
  6. - ![webtitle](url2)

Theme

Color Palette

palette

Screenshots

general

general1

posts

small