浏览代码

Update README

enhancements
budparr 6 年前
父节点
当前提交
35bb658973
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 10 次插入2 次删除
  1. 10
    2
      README.md

+ 10
- 2
README.md 查看文件

@@ -10,10 +10,11 @@ Features

- Responsive
- Accessible
- Contact form
- Contact form
- Custom Robots.txt (changes values based on environment)
- Internal templates for meta data and google analytics
- Internal templates for meta data, google analytics, and DISQUS comments
- RSS Discovery
- Table of Contents (must declare `toc: true` in post parameter)

Also includes examples of Hugo Features or Functions:

@@ -21,6 +22,7 @@ Also includes examples of Hugo Features or Functions:
- Taxonomies
- Archetypes
- Custom shortcode
- Related content
- Hugo built-in menu
- `with`
- `HUGO_ENV`
@@ -66,6 +68,12 @@ Take a look inside the [`exampleSite`](https://github.com/budparr/gohugo-theme-a
You may need to delete the line: `themesDir = "../.."`


### Add comments

To enable DISQUS comments, add `disqusShortname = YOURSHORTNAME` to your config file.



### Change the hero background

For any page or post you can add a featured image by including the local path in front matter (see content in the ExampleSite folder for examples): `featured_image: '/images/gohugo-default-sample-hero-image.jpg'`

正在加载...
取消
保存