Merge branch 'theme-2-terminal'
This commit is contained in:
commit
a1b879c81c
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -1,3 +1,3 @@
|
|||||||
[submodule "themes/nofancy"]
|
[submodule "themes/terminal"]
|
||||||
path = themes/nofancy
|
path = themes/terminal
|
||||||
url = https://github.com/gizak/nofancy
|
url = https://github.com/panr/hugo-theme-terminal
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
---
|
+++
|
||||||
title: "{{ replace .Name "-" " " | title }}"
|
title = "{{ replace .Name "-" " " | title }}"
|
||||||
date: {{ .Date }}
|
date = {{ .Date }}
|
||||||
draft: true
|
draft = true
|
||||||
---
|
+++
|
||||||
|
|
||||||
|
10
archetypes/post.md
Normal file
10
archetypes/post.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
+++
|
||||||
|
title = "{{ replace .Name "-" " " | title }}"
|
||||||
|
date = {{ .Date }}
|
||||||
|
author = "{{.Site.Author.name}}"
|
||||||
|
cover = ""
|
||||||
|
tags = ["", ""]
|
||||||
|
description = ""
|
||||||
|
showFullContent = false
|
||||||
|
draft = true
|
||||||
|
+++
|
48
config.toml
48
config.toml
@ -1,8 +1,11 @@
|
|||||||
baseURL = "https://mh.obermui.de/"
|
baseURL = "https://mh.obermui.de/"
|
||||||
languageCode = "de-de"
|
|
||||||
title = "MH Site"
|
title = "MH Site"
|
||||||
theme = "nofancy"
|
|
||||||
|
|
||||||
|
languageCode = "en-en"
|
||||||
|
theme = "terminal"
|
||||||
|
|
||||||
|
paginate = 5 #entrys per site
|
||||||
|
defaultContentLanguage = "en"
|
||||||
#copyright = "CC-By-NC-4.0"
|
#copyright = "CC-By-NC-4.0"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
@ -11,11 +14,38 @@ theme = "nofancy"
|
|||||||
gitea = "https://code.obermui.de/6543"
|
gitea = "https://code.obermui.de/6543"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
# See themes/nofancy/static/highlight/styles for available options
|
# dir name of your blog content (default is `content/posts`)
|
||||||
# i.e. "default", "github", "monokai".
|
contentTypeName = "post"
|
||||||
highlight="Assign a syntax highlight style"
|
# ["orange", "blue", "red", "green", "pink"]
|
||||||
|
themeColor = "orange"
|
||||||
|
# if you set this to 0, only submenu trigger will be visible
|
||||||
|
showMenuItems = 4
|
||||||
|
# set theme to full screen width
|
||||||
|
fullWidthTheme = false
|
||||||
|
# center theme with default width
|
||||||
|
centerTheme = true
|
||||||
|
# set a custom favicon (default is a `themeColor` square)
|
||||||
|
# favicon = "favicon.ico"
|
||||||
|
|
||||||
# Controls what items are listed in the top nav menu
|
[languages]
|
||||||
# "none", or "categories"
|
[languages.en]
|
||||||
# If you have too many categories to fit in the top nav menu, set this to "none"
|
title = "MH Site"
|
||||||
topmenu="categories"
|
subtitle = "A simple Homepage"
|
||||||
|
keywords = "Homepage 6543"
|
||||||
|
menuMore = "Show more"
|
||||||
|
readMore = "Read more"
|
||||||
|
readOtherPosts = "Read other posts"
|
||||||
|
|
||||||
|
[languages.en.params.logo]
|
||||||
|
logoText = "[MH @ Obermui ~]#"
|
||||||
|
logoHomeLink = "/"
|
||||||
|
|
||||||
|
[languages.en.menu]
|
||||||
|
[[languages.en.menu.main]]
|
||||||
|
identifier = "about"
|
||||||
|
name = "About"
|
||||||
|
url = "/about"
|
||||||
|
[[languages.en.menu.main]]
|
||||||
|
identifier = "post"
|
||||||
|
name = "Posts"
|
||||||
|
url = "/post"
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Subproject commit ae4670287c71f4c4aed91be9b3d3919846fd62c9
|
|
1
themes/terminal
Submodule
1
themes/terminal
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 016f54c162a41d3e21c8d68a2c7794d5c0f8e08c
|
Loading…
Reference in New Issue
Block a user