parent
55fd598405
commit
d85b21c181
6 changed files with 94 additions and 47 deletions
@ -1,3 +1,6 @@ |
||||
[submodule "harbor"] |
||||
path = themes/harbor |
||||
url = https://github.com/matsuyoshi30/harbor |
||||
[submodule "themes/hugo-theme-terminal"] |
||||
path = themes/terminal |
||||
url = https://github.com/panr/hugo-theme-terminal.git |
||||
|
@ -1,45 +1,67 @@ |
||||
baseURL = "http://example.org/" |
||||
BaseURL = "/" |
||||
languageCode = "en-us" |
||||
title = "wanderings" |
||||
theme = "harbor" |
||||
|
||||
[Author] |
||||
name = "la Fleur" |
||||
|
||||
[outputs] |
||||
section = ["JSON", "HTML"] |
||||
|
||||
[[params.nav]] |
||||
identifier = "about" |
||||
name = "About" |
||||
icon = "fas fa-user fa-lg" |
||||
url = "/about/" |
||||
weight = 3 |
||||
|
||||
[[params.nav]] |
||||
identifier = "tags" |
||||
name = "Tags" |
||||
icon = "fas fa-tag fa-lg" |
||||
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" |
||||
theme = "terminal" |
||||
paginate = 5 |
||||
copyright = "powered by me" |
||||
|
||||
[params] |
||||
# 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" |
||||
|
||||
# ["orange", "blue", "red", "green", "pink"] |
||||
themeColor = "red" |
||||
|
||||
# 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" |
||||
name = "About" |
||||
url = "/about" |
||||
[[languages.en.menu.main]] |
||||
identifier = "tags" |
||||
name = "Tags" |
||||
url = "/tags" |
||||
|
@ -1,5 +0,0 @@ |
||||
--- |
||||
title: "Search" |
||||
--- |
||||
|
||||
{{<search>}} |
@ -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" . }} |
@ -0,0 +1 @@ |
||||
Subproject commit 30d5681909d91d36c93a6829173f4f2cb61946c3 |
Loading…
Reference in new issue