项目作者: knadh

项目描述 :
Crisp, minimal personal website and blog theme for Hugo
高级语言: HTML
项目地址: git://github.com/knadh/hugo-ink.git
创建时间: 2019-11-19T06:28:58Z
项目社区:https://github.com/knadh/hugo-ink

开源协议:MIT License

下载


Ink

Crisp, minimal personal website and blog theme Hugo. Forked from Ezhil.

Demo

View demo
Screenshot

Features

  • Google Analytics integration
  • Syntax highlighting
  • Twitter cards and opengraph tags support
  • Disqus comments
  • RSS feeds
  • Custom CSS/JS
  • Multilingual months support

Installation

cd into your hugo site’s root directory and:

  1. cd themes
  2. git clone https://github.com/knadh/hugo-ink.git

For more information read the official setup guide of Hugo.

Content type

You can specify content type with field type in your content. For example static pages can be set as type page which are excluded from recent posts and all posts page. You can use site params mainSections and disableDisqusTypes to control which page types are excluded from recent posts and Disqus comments respectively.

  1. ---
  2. title: "About"
  3. date: 2019-04-19T21:37:58+05:30
  4. type: "page"
  5. ---
  6. This is some static page where you can write about yourself.

Language Settings for the month

Due to the currently unavailable feature for multilingual dates in .Date from
Go. It is possible to create a month.yaml in the data folder of your
Hugo site root directory. There is also an example file in
exampleSite/data/.

  1. cat > month.yaml << EOF
  2. 1: "Jan"
  3. 2: "Feb"
  4. 3: "Mar"
  5. 4: "Apr"
  6. 5: "May"
  7. 6: "Jun"
  8. 7: "Jul"
  9. 8: "Aug"
  10. 9: "Sep"
  11. 10: "Oct"
  12. 11: "Nov"
  13. 12: "Dec"
  14. EOF

Credits

Licensed under the MIT license.