diff --git a/.gitmodules b/.gitmodules index 6b38827..9dab598 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/config.toml b/config.toml index b8ebb0f..7adfd31 100644 --- a/config.toml +++ b/config.toml @@ -1,45 +1,67 @@ -baseURL = "http://example.org/" +BaseURL = "/" languageCode = "en-us" title = "wanderings" -theme = "harbor" +theme = "terminal" +paginate = 5 +copyright = "powered by me" -[Author] - name = "la Fleur" +[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" -[outputs] - section = ["JSON", "HTML"] + # ["orange", "blue", "red", "green", "pink"] + themeColor = "red" -[[params.nav]] - identifier = "about" - name = "About" - icon = "fas fa-user fa-lg" - url = "/about/" - weight = 3 + # if you set this to 0, only submenu trigger will be visible + showMenuItems = 2 -[[params.nav]] - identifier = "tags" - name = "Tags" - icon = "fas fa-tag fa-lg" - url = "tags" - weight = 3 + # show selector to switch language + showLanguageSelector = false -[[params.nav]] - identifier = "categories" - name = "Category" - icon = "fas fa-folder-open fa-lg" - url = "categories" - weight = 3 + # set theme to full screen width + fullWidthTheme = false -[[params.nav]] - identifier = "search" - name = "Search" - icon = "fas fa-search fa-lg" - url = "search" - weight = 3 + # center theme with default width + centerTheme = true -[params.logo] - url = "icon.jpg" # static/images/icon.jpg - width = 50 - height = 50 - alt = "Logo" + # 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" diff --git a/content/about.md b/content/about.md index 7a88edf..c182055 100644 --- a/content/about.md +++ b/content/about.md @@ -4,3 +4,7 @@ permalink: /about/ --- I am la Fleur, login `lafleur`. I'm a free software enthousiast. Else about me, 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 + diff --git a/content/search.md b/content/search.md deleted file mode 100644 index 12a2d21..0000000 --- a/content/search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "Search" ---- - -{{}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..19d3fd8 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,22 @@ + + + + + +{{ if $.Site.Params.showLanguageSelector }} + +{{ end }} + + +{{ partial "extended_footer.html" . }} diff --git a/themes/terminal b/themes/terminal new file mode 160000 index 0000000..30d5681 --- /dev/null +++ b/themes/terminal @@ -0,0 +1 @@ +Subproject commit 30d5681909d91d36c93a6829173f4f2cb61946c3