switched to Terminal theme

This commit is contained in:
lafleur 2020-10-09 00:16:02 +02:00
parent 55fd598405
commit d85b21c181
6 changed files with 87 additions and 40 deletions

3
.gitmodules vendored
View File

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

View File

@ -1,45 +1,67 @@
baseURL = "http://example.org/" BaseURL = "/"
languageCode = "en-us" languageCode = "en-us"
title = "wanderings" title = "wanderings"
theme = "harbor" theme = "terminal"
paginate = 5
copyright = "powered by me"
[Author] [params]
name = "la Fleur" # dir name of your main content (default is `content/posts`).
# the list of set content will show up on your index page (baseurl).
#contentTypeName = "posts"
[outputs] # ["orange", "blue", "red", "green", "pink"]
section = ["JSON", "HTML"] themeColor = "red"
[[params.nav]] # if you set this to 0, only submenu trigger will be visible
showMenuItems = 2
# show selector to switch language
showLanguageSelector = false
# 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"
# set post to show the last updated
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
showLastUpdated = false
# Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author
# updatedDatePrefix = "Updated"
# set all headings to their default size (depending on browser settings)
# it's set to `true` by default
# oneHeadingSize = false
[languages]
[languages.en]
languageName = "English"
title = "Wanderings"
subtitle = "various subjects gathered along the road"
owner = "la Fleur"
keywords = ""
copyright = ""
menuMore = "Show more"
readMore = "Read more"
readOtherPosts = "Read other posts"
missingContentMessage = "Page not found..."
missingBackButtonLabel = "Back to home page"
[languages.en.params.logo]
logoText = "Wanderings"
logoHomeLink = "/"
[languages.en.menu]
[[languages.en.menu.main]]
identifier = "about" identifier = "about"
name = "About" name = "About"
icon = "fas fa-user fa-lg" url = "/about"
url = "/about/" [[languages.en.menu.main]]
weight = 3
[[params.nav]]
identifier = "tags" identifier = "tags"
name = "Tags" name = "Tags"
icon = "fas fa-tag fa-lg" url = "/tags"
url = "tags"
weight = 3
[[params.nav]]
identifier = "categories"
name = "Category"
icon = "fas fa-folder-open fa-lg"
url = "categories"
weight = 3
[[params.nav]]
identifier = "search"
name = "Search"
icon = "fas fa-search fa-lg"
url = "search"
weight = 3
[params.logo]
url = "icon.jpg" # static/images/icon.jpg
width = 50
height = 50
alt = "Logo"

View File

@ -4,3 +4,7 @@ permalink: /about/
--- ---
I am la Fleur, login `lafleur`. I'm a free software enthousiast. Else about me, I am la Fleur, login `lafleur`. I'm a free software enthousiast. Else about me,
you will discover by scrolling this site. you will discover by scrolling this site.
This site, by the way, was built with Hugo, using the Terminal theme :
https://github.com/panr/hugo-theme-terminal

View File

@ -1,5 +0,0 @@
---
title: "Search"
---
{{<search>}}

View File

@ -0,0 +1,22 @@
<footer class="footer">
<div class="footer__inner">
{{ if $.Site.Copyright }}
<div class="copyright copyright--user">
<span>{{ $.Site.Copyright | safeHTML }}</span>
{{ else }}
<div class="copyright">
<span>© {{ now.Year }} Powered by <a href="http://gohugo.io">Hugo</a></span>
{{ end }}
</div>
</div>
</footer>
<script src="{{ "assets/main.js" | absURL }}"></script>
<script src="{{ "assets/prism.js" | absURL }}"></script>
{{ if $.Site.Params.showLanguageSelector }}
<script src="{{ "assets/languageSelector.js" | absURL }}"></script>
{{ end }}
<!-- Extended footer section-->
{{ partial "extended_footer.html" . }}

1
themes/terminal Submodule

@ -0,0 +1 @@
Subproject commit 30d5681909d91d36c93a6829173f4f2cb61946c3