diff options
Diffstat (limited to 'themes/hugo-theme-stack/exampleSite/content/page')
6 files changed, 105 insertions, 0 deletions
diff --git a/themes/hugo-theme-stack/exampleSite/content/page/about/index.md b/themes/hugo-theme-stack/exampleSite/content/page/about/index.md new file mode 100644 index 0000000..68911f9 --- /dev/null +++ b/themes/hugo-theme-stack/exampleSite/content/page/about/index.md @@ -0,0 +1,34 @@ +--- +title: About +description: Hugo, the world's fastest framework for building websites +date: '2019-02-28' +aliases: + - about-us + - about-hugo + - contact +license: CC BY-NC-ND +lastmod: '2020-10-09' +menu: + main: + weight: -90 + params: + icon: user +--- + +Written in Go, Hugo is an open source static site generator available under the [Apache License 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. + +Hugo makes use of a variety of open source projects including: + +* https://github.com/yuin/goldmark +* https://github.com/alecthomas/chroma +* https://github.com/muesli/smartcrop +* https://github.com/spf13/cobra +* https://github.com/spf13/viper + +Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages. + +Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases. + +Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. + +Learn more and contribute on [GitHub](https://github.com/gohugoio). diff --git a/themes/hugo-theme-stack/exampleSite/content/page/about/index.zh-cn.md b/themes/hugo-theme-stack/exampleSite/content/page/about/index.zh-cn.md new file mode 100644 index 0000000..0284003 --- /dev/null +++ b/themes/hugo-theme-stack/exampleSite/content/page/about/index.zh-cn.md @@ -0,0 +1,10 @@ +--- +title: 关于 +menu: + main: + weight: -90 + params: + icon: user +--- + +This is a test page for i18n support.
\ No newline at end of file diff --git a/themes/hugo-theme-stack/exampleSite/content/page/archives/index.md b/themes/hugo-theme-stack/exampleSite/content/page/archives/index.md new file mode 100644 index 0000000..2862deb --- /dev/null +++ b/themes/hugo-theme-stack/exampleSite/content/page/archives/index.md @@ -0,0 +1,11 @@ +--- +title: "Archives" +date: 2019-05-28 +layout: "archives" +slug: "archives" +menu: + main: + weight: -70 + params: + icon: archives +--- diff --git a/themes/hugo-theme-stack/exampleSite/content/page/links/index.md b/themes/hugo-theme-stack/exampleSite/content/page/links/index.md new file mode 100644 index 0000000..9e29bf3 --- /dev/null +++ b/themes/hugo-theme-stack/exampleSite/content/page/links/index.md @@ -0,0 +1,37 @@ +--- +title: Links +links: + - title: GitHub + description: GitHub is the world's largest software development platform. + website: https://github.com + image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png + - title: TypeScript + description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. + website: https://www.typescriptlang.org + image: ts-logo-128.jpg +menu: + main: + weight: -50 + params: + icon: link + +comments: false +--- + +To use this feature, add `links` section to frontmatter. + +This page's frontmatter: + +```yaml +links: + - title: GitHub + description: GitHub is the world's largest software development platform. + website: https://github.com + image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png + - title: TypeScript + description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. + website: https://www.typescriptlang.org + image: ts-logo-128.jpg +``` + +`image` field accepts both local and external images.
\ No newline at end of file diff --git a/themes/hugo-theme-stack/exampleSite/content/page/links/ts-logo-128.jpg b/themes/hugo-theme-stack/exampleSite/content/page/links/ts-logo-128.jpg Binary files differnew file mode 100644 index 0000000..85e3323 --- /dev/null +++ b/themes/hugo-theme-stack/exampleSite/content/page/links/ts-logo-128.jpg diff --git a/themes/hugo-theme-stack/exampleSite/content/page/search/index.md b/themes/hugo-theme-stack/exampleSite/content/page/search/index.md new file mode 100644 index 0000000..b2a5943 --- /dev/null +++ b/themes/hugo-theme-stack/exampleSite/content/page/search/index.md @@ -0,0 +1,13 @@ +--- +title: "Search" +slug: "search" +layout: "search" +outputs: + - html + - json +menu: + main: + weight: -60 + params: + icon: search +---
\ No newline at end of file |