add configs and create page archetype
This commit is contained in:
37
archetypes/post.md
Normal file
37
archetypes/post.md
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "Hello portfolio"
|
||||
date: 2020-09-15T11:30:03+00:00
|
||||
# weight: 1
|
||||
# aliases: ["/first"]
|
||||
tags: ["first"]
|
||||
author: "Me"
|
||||
# author: ["Me", "You"] # multiple authors
|
||||
showToc: true
|
||||
TocOpen: false
|
||||
draft: false
|
||||
hidemeta: false
|
||||
comments: false
|
||||
description: "Desc Text."
|
||||
canonicalURL: "https://canonical.url/to/page"
|
||||
disableHLJS: true # to disable highlightjs
|
||||
disableShare: false
|
||||
disableHLJS: false
|
||||
hideSummary: false
|
||||
searchHidden: true
|
||||
ShowReadingTime: true
|
||||
ShowBreadCrumbs: true
|
||||
ShowPostNavLinks: true
|
||||
ShowWordCount: true
|
||||
ShowRssButtonInSectionTermList: true
|
||||
UseHugoToc: true
|
||||
cover:
|
||||
image: "<image path/url>" # image path/url
|
||||
alt: "<alt text>" # alt text
|
||||
caption: "<text>" # display caption under cover
|
||||
relative: false # when using page bundles set this to true
|
||||
hidden: true # only hide on current single page
|
||||
editPost:
|
||||
URL: "https://github.com/<path_to_repo>/content"
|
||||
Text: "Suggest Changes" # edit text
|
||||
appendFilePath: true # to append file path to Edit link
|
||||
---
|
64
hugo.yaml
64
hugo.yaml
@@ -1,3 +1,61 @@
|
||||
baseURL: https://example.org/
|
||||
languageCode: en-us
|
||||
title: My New Hugo Site
|
||||
baseURL: https://sirian.me/
|
||||
languageCode: fi-FI
|
||||
title: Elias Ahokas
|
||||
theme: ["PaperMod"]
|
||||
|
||||
enableRobotsTXT: true
|
||||
buildDrafts: false
|
||||
buildFuture: false
|
||||
buildExpired: false
|
||||
|
||||
minify:
|
||||
disableXML: true
|
||||
minifyOutput: true
|
||||
|
||||
params:
|
||||
env: production
|
||||
title: "Elias Ahokas"
|
||||
description: "Embedded dev"
|
||||
keywords: [Portfolio, Embedded, Programming, Projects]
|
||||
author: "Elias Ahokas"
|
||||
|
||||
DateFormat: "2.1.2006"
|
||||
defaultTheme: auto
|
||||
disableThemeToggle: false
|
||||
|
||||
ShowReadingTime: true
|
||||
ShowShareButtons: false
|
||||
ShowPostNavLinks: true
|
||||
ShowBreadCrumbs: true
|
||||
ShowCodeCopyButtons: true
|
||||
ShowWordCount: false
|
||||
disableScrollToTop: false
|
||||
hidemeta: false
|
||||
showtoc: true
|
||||
|
||||
homeInfoParams:
|
||||
Title: "Moi olen title hugo.yaml tiedostosta"
|
||||
Content: "Moi olen content hugo.yaml tiedostosta"
|
||||
|
||||
socialIcons:
|
||||
- name: gitea
|
||||
url: "todo"
|
||||
- name: linkedin
|
||||
url: "todo"
|
||||
|
||||
menu:
|
||||
main:
|
||||
- name: Projects
|
||||
url: /projects/
|
||||
weight: 10
|
||||
- name: About
|
||||
url: /about/
|
||||
weight: 20
|
||||
- name: CV
|
||||
url: /cv/
|
||||
weight: 30
|
||||
|
||||
markup:
|
||||
highlight:
|
||||
noClasses: false
|
||||
style: github-dark
|
||||
|
Reference in New Issue
Block a user