wip about to do meta

master
Bel LaPointe 2021-11-29 13:26:02 -07:00
parent 23c1c28a21
commit 768b936910
9 changed files with 51 additions and 88 deletions

View File

@ -1 +1 @@
../config.yaml
../meta/config.yaml

View File

@ -1,23 +0,0 @@
---
title: "Subpage"
description: "Just a subpage of about"
date: "2019-02-28"
author: "Hugo Authors"
slug: /about/subpage
menu:
about:
identifier: about
name: About
title: About
url: /about
weight: 1
subpage:
identifier: subpage
parent: about
name: Subpage
title: Subpage
url: /about/subpage/
weight: 10
---
Just a subpage of About.

View File

@ -1,43 +0,0 @@
---
title: "About"
description: "Hugo, the worlds fastest framework for building websites"
date: "2019-02-28"
aliases:
- "about-us"
- "about-hugo"
- "contact"
author: "Hugo Authors"
menu:
about:
name: About
title: About
url: /about
weight: 1
subpage:
parent: about
name: Subpage
title: Subpage
url: /about/subpage
weight: 10
---
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.
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 extremelly 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).

1
blog/content/about.md Symbolic link
View File

@ -0,0 +1 @@
../../meta/about.md

View File

@ -1,7 +0,0 @@
---
title: 'Our Difference'
button: 'About us'
weight: 2
---
Lorem ipsum dolor sit amet, et essent mediocritatem quo, choro volumus oporteat an mei. ipsum dolor sit amet, et essent mediocritatem quo,

View File

@ -1,3 +0,0 @@
---
headless : true
---

View File

@ -1,7 +0,0 @@
---
title: 'We Help Business Grow'
button: 'Our Work'
weight: 1
---
Lorem ipsum dolor sit amet, et essent mediocritatem quo, choro volumus oporteat an mei. Numquam dolores mel eu, mea docendi omittantur et, mea ea duis erat. Elit melius cu ius. Per ex novum tantas putant, ei his nullam aliquam apeirian. Aeterno quaestio constituto sea an, no eum intellegat assueverit.

31
meta/about.md Normal file
View File

@ -0,0 +1,31 @@
---
title: "About"
description: "Hugo, the worlds fastest framework for building websites"
date: "2019-02-28"
aliases:
- "about-us"
- "about-hugo"
- "contact"
author: "Hugo Authors"
---
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.
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 extremelly 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).

View File

@ -43,6 +43,11 @@ menu:
title: Archive
url: /posts/
weight: 0
- identifier: about
name: About
title: About
url: /about/
weight: 1
markup:
defaultMarkdownHandler: goldmark

View File

@ -11,6 +11,17 @@ TMPDIR="${TMPDIR:-"/tmp"}"
main() {
flags "$@"
#posts
meta
}
flags() {
set -e
set -o pipefail
cd "$(dirname "$BASH_SOURCE")"
}
posts() {
local want=()
for b64_json in $(list); do
local json="$(echo "$b64_json" | base64 --decode)"
@ -38,10 +49,8 @@ main() {
done
}
flags() {
set -e
set -o pipefail
cd "$(dirname "$BASH_SOURCE")"
meta() {
false
}
fatal() {