diff options
author | qqhann <qiu.gits@gmail.com> | 2019-12-02 17:35:46 +0300 |
---|---|---|
committer | qqhann <qiu.gits@gmail.com> | 2019-12-02 17:35:46 +0300 |
commit | ff11479aebba5c5e44c18010268bcfab36517b35 (patch) | |
tree | 010c0ffa0bdae3d3f801cb96eb14d6238d54899a | |
parent | 8444c13a621f9f3f6748ad0293e77eefa30b21b3 (diff) |
Update: frontmatter and config for primer
-rw-r--r-- | exampleSite/config.toml | 58 | ||||
-rw-r--r-- | exampleSite/configTaxo.toml | 28 | ||||
-rw-r--r-- | exampleSite/content/about.md | 2 | ||||
-rw-r--r-- | exampleSite/content/basic_example/_index.md | 5 |
4 files changed, 24 insertions, 69 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d21fbd0..216b85b 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,50 +1,26 @@ baseURL = "https://gohugo.io/" title = "Hugo Themes" author = "Steve Francia" -copyright = "Copyright © 2008–2019, Steve Francia and the Hugo Authors; all rights reserved." paginate = 3 languageCode = "en" DefaultContentLanguage = "en" enableInlineShortcodes = true footnoteReturnLinkContents = "^" -[menu] - - [[menu.main]] - identifier = "about" - name = "About" - url = "/about/" - weight = 10 - -[taxonomies] -category = "categories" -tag = "tags" -series = "series" - -[privacy] - - [privacy.vimeo] - disabled = false - simple = true - - [privacy.twitter] - disabled = false - enableDNT = true - simple = true - - [privacy.instagram] - disabled = false - simple = true - - [privacy.youtube] - disabled = false - privacyEnhanced = true - -[services] - - [services.instagram] - disableInlineCSS = true - - [services.twitter] - disableInlineCSS = true - +theme = "hugo-primer" +hasCJKLanguage = true +summaryLength = 70 +pygmentsCodeFences = true +pygmentsUseClasses = true +googleAnalytics = "UA-12345678-0" +disqusShortname="" +copyright = "©Qiushi Pan 2018-2019" + +[params] +description = "Hugo-Primer theme's example site" +twitter = "" +useIcon = false +useTwitterCard = true +shareTo = ["Twitter", "Hatena", "Facebook", "Pocket"] +showFooterCredits = true +math = true diff --git a/exampleSite/configTaxo.toml b/exampleSite/configTaxo.toml deleted file mode 100644 index a6acc92..0000000 --- a/exampleSite/configTaxo.toml +++ /dev/null @@ -1,28 +0,0 @@ -timeout = 30000 -enableInlineShortcodes = true -footnoteReturnLinkContents = "^" - -[taxonomies] -category = "categories" -tag = "tags" -series = "series" - -[privacy] - -[privacy.vimeo] -disabled = false -simple = true - -[privacy.twitter] -disabled = false -enableDNT = true -simple = true -disableInlineCSS = true - -[privacy.instagram] -disabled = false -simple = true - -[privacy.youtube] -disabled = false -privacyEnhanced = true
\ No newline at end of file diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md index d5b8838..f4ac0df 100644 --- a/exampleSite/content/about.md +++ b/exampleSite/content/about.md @@ -4,6 +4,8 @@ description = "Hugo, the world’s fastest framework for building websites" date = "2019-02-28" aliases = ["about-us","about-hugo","contact"] author = "Hugo Authors" +menu = "main" +weight = 3 +++ Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. diff --git a/exampleSite/content/basic_example/_index.md b/exampleSite/content/basic_example/_index.md new file mode 100644 index 0000000..7c86cf9 --- /dev/null +++ b/exampleSite/content/basic_example/_index.md @@ -0,0 +1,5 @@ +--- +title: "Basic Example" +menu: "main" +weight: 2 +---
\ No newline at end of file |