Verified Commit 1f471f22 authored by exprez135's avatar exprez135

Add updates section, refine archetypes and menus

parent c52bb8b0
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
description:
tags = [""]
categories: [""]
menu: main
---
baseURL: http://example.org/
languageCode: en-us
title: CultureBridge Tulsa
title: CultureBridge Tulsa
theme: hugo-book
# Book configuration
......@@ -32,9 +32,9 @@ languages:
menu:
# before: []
after:
- name: "Gitlab"
- name: "Source code"
url: "https://gitlab.com/exprez135/culturebridge-hugo/"
weight: 10
weight: 100
params:
# (Optional, default true) Controls table of contents visibility on right side of pages.
......@@ -44,7 +44,7 @@ params:
# (Optional, default none) Set the path to a logo for the book. If the logo is
# /static/logo.png then the path would be logo.png
# BookLogo: /logo.png
# BookLogo: /logo.svg
# (Optional, default none) Set leaf bundle to render as side menu
# When not specified file structure and weights will be used
......
......@@ -10,6 +10,8 @@ bookComments: true
# site documentation
![CultureBridge Logo](/logo.svg)
Hey all! This is going to be a longer post, but consider it essential and necessary. Plus, who wouldn't want to read a ton of what Nate writes???
So, what's going on?
......
---
title: "Info"
weight: 30
bookFlatSection: false
bookFlatSection: true
bookToc: true
bookHidden: false
bookCollapseSection: false
......
---
title: Modules
bookFlatSection: false
bookFlatSection: true
bookToc: false
bookHidden: false
bookCollapseSection: false
......
---
menu:
after:
name: updates
weight: 5
title: Updates
---
Updates from CultureBridge!
---
title: "Iroh"
date: 2020-04-21T16:27:22-05:00
description: Wisdom from Iroh
tags: ["wisdom"]
categories: ["advice"]
menu: main
bookHidden: true
---
Leaves from the vine
Falling so slow
Like fragile, tiny shells
Drifting in the foam
Little soldier boy
Come marching home
Brave soldier boy
Comes marching home.
---
title: Supplements
bookFlatSection: false
bookFlatSection: true
bookToc: true
bookHidden: false
bookCollapseSection: false
......
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ default .Summary .Description }}">
{{- template "_internal/opengraph.html" . -}}
<title>{{ partial "docs/title" . }} | {{ .Site.Title -}}</title>
<!--<link rel="icon" href="{{ "favicon.png" | relURL }}" type="image/x-icon"> NATE: REPLACED BY ICONS IN ROOT -->
{{- range .Translations }}
<link rel="alternate" hreflang="{{ .Language.Lang }}" href="{{ .Permalink }}" title="{{ partial "docs/title" . }}">
{{ end -}}
<!-- Theme stylesheet, you can customize scss by creating `assets/custom.scss` in your website -->
{{- $styles := resources.Get "book.scss" | resources.ExecuteAsTemplate "book.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" integrity="{{ $styles.Data.Integrity }}">
{{- if default true .Site.Params.BookSearch }}
{{- $searchJSFile := printf "%s.search.js" .Language.Lang }}
{{- $searchJS := resources.Get "search.js" | resources.ExecuteAsTemplate $searchJSFile . | resources.Minify | resources.Fingerprint }}
<script defer src="{{ $searchJS.RelPermalink }}" integrity="{{ $searchJS.Data.Integrity }}"></script>
{{ end -}}
{{- if .Site.Params.BookServiceWorker }}
{{- $swJS := resources.Get "sw-register.js" | resources.ExecuteAsTemplate "sw.js" . | resources.Minify | resources.Fingerprint }}
<script defer src="{{ $swJS.RelPermalink }}" integrity="{{ $swJS.Data.Integrity }}"></script>
{{ end -}}
{{- template "_internal/google_analytics_async.html" . -}}
<!-- RSS -->
{{- with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{ "<!--" | safeHTML }}
Made with Book Theme
https://github.com/alex-shpak/hugo-book
{{ "-->" | safeHTML }}
......@@ -83,5 +83,8 @@ collections:
slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
fields: # The fields for each document, usually in front matter
- {label: "Title", name: "title", widget: "string"}
- {label: "Body", name: "body", widget: "markdown"}
- {label: "Date", name: "body", widget: "datetime"}
- {label: "Body", name: "body", widget: "markdown"}
- {label: "Description", name: "description", widget: "string", default: ""}
- {label: "Tags", name: "tags", widget: "list", default: "important", allow_add: true}
- {label: "Categories", name: "categories", widget: "list", default: "news", allow_add: true}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment