Merge branch 'theme-2-terminal'

This commit is contained in:
6543 2019-07-01 20:19:59 +02:00
commit a1b879c81c
9 changed files with 58 additions and 19 deletions

6
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "themes/nofancy"]
path = themes/nofancy
url = https://github.com/gizak/nofancy
[submodule "themes/terminal"]
path = themes/terminal
url = https://github.com/panr/hugo-theme-terminal

View File

View File

@ -1,6 +1,5 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

+++
title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }}
draft = true
+++

10
archetypes/post.md Normal file
View File

@ -0,0 +1,10 @@
+++
title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }}
author = "{{.Site.Author.name}}"
cover = ""
tags = ["", ""]
description = ""
showFullContent = false
draft = true
+++

View File

@ -1,8 +1,11 @@
baseURL = "https://mh.obermui.de/"
languageCode = "de-de"
title = "MH Site"
theme = "nofancy"

languageCode = "en-en"
theme = "terminal"

paginate = 5 #entrys per site
defaultContentLanguage = "en"
#copyright = "CC-By-NC-4.0"

[author]
@ -11,11 +14,38 @@ theme = "nofancy"
gitea = "https://code.obermui.de/6543"

[params]
# See themes/nofancy/static/highlight/styles for available options
# i.e. "default", "github", "monokai".
highlight="Assign a syntax highlight style"
# dir name of your blog content (default is `content/posts`)
contentTypeName = "post"
# ["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
# "none", or "categories"
# If you have too many categories to fit in the top nav menu, set this to "none"
topmenu="categories"
[languages]
[languages.en]
title = "MH Site"
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"

View File

View File

@ -1 +0,0 @@
Subproject commit ae4670287c71f4c4aed91be9b3d3919846fd62c9

1
themes/terminal Submodule

@ -0,0 +1 @@
Subproject commit 016f54c162a41d3e21c8d68a2c7794d5c0f8e08c