瀏覽代碼

landing page in progress

zzossig 5 年之前
父節點
當前提交
6d70dd6250

+ 4 - 0
exampleSite/config/_default/params.toml

@@ -8,15 +8,19 @@ themeOptions = ["light", "dark"]
 useFaviconGenerator = true # https://www.favicon-generator.org/
 
 enableSearch = true
+enableSearchHighlight = true
 enableLangChange = true
 enableDarkMode = true
 enableBreadcrumb = true
+enableBlogBreadcrumb = true
+enableEditBtn = false
 enableToc = true
 enableMenu = true
 enableNavbar = true
 enableFooter = true
 showPoweredBy = true
 
+tocLevels = ["h2", "h3", "h4"]
 paginateWindow = 1
 taxoPaginate = 13
 taxoGroupByDate = "2006" # "2006-01": group by month, "2006": group by year

+ 4 - 10
exampleSite/content/en/blog/_index.md

@@ -2,19 +2,17 @@
 title: Blog
 description: Blog list page
 blogHeaderType: text
+headerHeight: 112
 header:
   - type: text
-    height: 170
     paddingX: 50
+    paddingY: 0
     align: center
     title:
       - Blog
     subtitle:
-    titleColor: 
-    titleFontSize: 44
-    subtitleColor: 
-    subtitleFontSize: 20
-    spaceBetweenTitleSubtitle: 16
+      - 
+    spaceBetweenTitleSubtitle: 0
   
   - type: img
     imageSrc: images/header/background.png
@@ -29,11 +27,7 @@ header:
       - 
     subtitle:
       - 
-    titleColor: 
     titleShadow: true
-    titleFontSize: 44
-    subtitleColor: 
     subtitleCursive: true
-    subtitleFontSize: 16
     spaceBetweenTitleSubtitle: 20
 ---

+ 7 - 1
exampleSite/content/en/blog/emoji-support.md

@@ -2,12 +2,18 @@
 author = "Hugo Authors"
 title = "Emoji Support"
 date = "2019-03-05"
-description = "Guide to emoji usage in Hugo"
+# description = "Guide to emoji usage in Hugo"
 tags = [
     "emoji",
 ]
+image = "images/mountains.jpg"
 +++
 
+Lorem est tota propiore conpellat pectoribus de
+pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice
+subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
+caluere tempus<!--more-->
+
 Emoji can be enabled in a Hugo project in a number of ways. 
 <!--more-->
 The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). 

+ 6 - 1
exampleSite/content/en/blog/markdown-syntax.md

@@ -2,7 +2,7 @@
 author = "Hugo Authors"
 title = "Markdown Syntax Guide"
 date = "2019-03-11"
-description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
+# description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
 tags = [
     "markdown",
     "css",
@@ -16,6 +16,11 @@ categories = [
 series = ["Themes Guide"]
 +++
 
+Lorem est tota propiore conpellat pectoribus de
+pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice
+subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
+caluere tempus<!--more-->
+
 This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
 <!--more-->
 

+ 4 - 3
exampleSite/content/en/blog/placeholder-text.md

@@ -2,17 +2,18 @@
 author = "Hugo Authors"
 title = "Placeholder Text"
 date = "2019-03-09"
-description = "Lorem Ipsum Dolor Si Amet"
+#description = "Lorem Ipsum Dolor Si Amet"
 tags = [
     "markdown",
     "text",
 ]
+image = "images/landscape.jpg"
 +++
 
 Lorem est tota propiore conpellat pectoribus de
-pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice
+pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice
 subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
-caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis
+caluere tempus<!--more--> inhospita parcite confusaque translucet patri vestro qui optatis
 lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
 
 1. Exierant elisi ambit vivere dedere

+ 7 - 2
exampleSite/content/en/blog/rich-content.md

@@ -2,14 +2,19 @@
 author = "Hugo Authors"
 title = "Rich Content"
 date = "2019-03-10"
-description = "A brief description of Hugo Shortcodes"
+# description = "A brief description of Hugo Shortcodes"
 tags = [
     "shortcodes",
     "privacy",
 ]
-featured_image = "free.jpg"
+image = "images/mountain.jpg"
 +++
 
+Lorem est tota propiore conpellat pectoribus de
+pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice
+subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
+caluere tempus<!--more-->
+
 Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
 <!--more-->
 ---

+ 4 - 10
exampleSite/content/ko/blog/_index.md

@@ -2,19 +2,17 @@
 title: Blog
 description: Blog list page
 blogHeaderType: text
+headerHeight: 112
 header:
   - type: text
-    height: 170
     paddingX: 50
+    paddingY: 0
     align: center
     title:
       - Blog
     subtitle:
-    titleColor: 
-    titleFontSize: 44
-    subtitleColor: 
-    subtitleFontSize: 20
-    spaceBetweenTitleSubtitle: 16
+      - 
+    spaceBetweenTitleSubtitle: 0
   
   - type: img
     imageSrc: images/header/background.png
@@ -29,11 +27,7 @@ header:
       - 
     subtitle:
       - 
-    titleColor: 
     titleShadow: true
-    titleFontSize: 44
-    subtitleColor: 
     subtitleCursive: true
-    subtitleFontSize: 16
     spaceBetweenTitleSubtitle: 20
 ---

+ 7 - 1
exampleSite/content/ko/blog/emoji-support.md

@@ -2,12 +2,18 @@
 author = "Hugo Authors"
 title = "Emoji Support"
 date = "2019-03-05"
-description = "Guide to emoji usage in Hugo"
+# description = "Guide to emoji usage in Hugo"
 tags = [
     "emoji",
 ]
+image = "images/mountains.jpg"
 +++
 
+Lorem est tota propiore conpellat pectoribus de
+pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice
+subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
+caluere tempus<!--more-->
+
 Emoji can be enabled in a Hugo project in a number of ways. 
 <!--more-->
 The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). 

+ 6 - 1
exampleSite/content/ko/blog/markdown-syntax.md

@@ -2,7 +2,7 @@
 author = "Hugo Authors"
 title = "Markdown Syntax Guide"
 date = "2019-03-11"
-description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
+# description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
 tags = [
     "markdown",
     "css",
@@ -16,6 +16,11 @@ categories = [
 series = ["Themes Guide"]
 +++
 
+Lorem est tota propiore conpellat pectoribus de
+pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice
+subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
+caluere tempus<!--more-->
+
 This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
 <!--more-->
 

+ 4 - 3
exampleSite/content/ko/blog/placeholder-text.md

@@ -2,17 +2,18 @@
 author = "Hugo Authors"
 title = "Placeholder Text"
 date = "2019-03-09"
-description = "Lorem Ipsum Dolor Si Amet"
+#description = "Lorem Ipsum Dolor Si Amet"
 tags = [
     "markdown",
     "text",
 ]
+image = "images/landscape.jpg"
 +++
 
 Lorem est tota propiore conpellat pectoribus de
-pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice
+pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice
 subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
-caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis
+caluere tempus<!--more--> inhospita parcite confusaque translucet patri vestro qui optatis
 lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
 
 1. Exierant elisi ambit vivere dedere

+ 7 - 2
exampleSite/content/ko/blog/rich-content.md

@@ -2,14 +2,19 @@
 author = "Hugo Authors"
 title = "Rich Content"
 date = "2019-03-10"
-description = "A brief description of Hugo Shortcodes"
+# description = "A brief description of Hugo Shortcodes"
 tags = [
     "shortcodes",
     "privacy",
 ]
-featured_image = "free.jpg"
+image = "images/mountain.jpg"
 +++
 
+Lorem est tota propiore conpellat pectoribus de
+pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice
+subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc
+caluere tempus<!--more-->
+
 Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
 <!--more-->
 ---