diff --git a/.gitmodules b/.gitmodules index da88c60..2224a40 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,12 @@ [submodule "themes/hyde-hyde"] path = themes/hyde-hyde url = https://github.com/htr3n/hyde-hyde.git +[submodule "themes/terminal"] + path = themes/terminal + url = https://github.com/panr/hugo-theme-terminal.git +[submodule "themes/book"] + path = themes/book + url = https://github.com/alex-shpak/hugo-book +[submodule "themes/fuji"] + path = themes/fuji + url = https://github.com/amzrk2/hugo-theme-fuji.git diff --git a/comfig.toml.back b/comfig.toml.back new file mode 100644 index 0000000..65c8923 --- /dev/null +++ b/comfig.toml.back @@ -0,0 +1,68 @@ +baseURL = "https://www.ruby.roosens.me/" +languageCode = "en-us" +title = "Technically Jesus" +theme = "terminal" +include_toc = true +paginate = 5 + +[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 = "orange" + + # 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 = "Terminal" + subtitle = "A simple, retro theme for Hugo" + owner = "" + 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 = "Terminal" + logoHomeLink = "/" + + [languages.en.menu] + [[languages.en.menu.main]] + identifier = "about" + name = "About" + url = "/about" + [[languages.en.menu.main]] + identifier = "showcase" + name = "Showcase" + url = "/showcase" + diff --git a/config.toml b/config.toml index 988d252..7b6c85a 100644 --- a/config.toml +++ b/config.toml @@ -1,19 +1,137 @@ -baseURL = "https://www.ruby.roosens.me/" -languageCode = "en-us" +baseURL = "https://www.roosens.me" title = "Technically Jesus" -theme = "hyde-hyde" -include_toc = true -[[menu.main]] +theme = "fuji" +hasCJKLanguage = true +enableEmoji = true +enableRobotsTXT = true +disableKinds = ["taxonomy"] +ignoreErrors = ["error-disable-taxonomy"] + +## Change this two to switch between different language +languageCode = "en" # For RSS, view https://www.rssboard.org/rss-language-codes +defaultContentLanguage = "en" # For HTML page, now support: en, zh-hans, zh-hant, ja, nl + +summaryLength = 100 # Custom summary length, add in post file to custom split point +paginate = 10 + +[outputFormats] + [outputFormats.SearchIndex] + isPlainText = true + notAlternative = true + mediaType = "application/json" + path = "/search/" + +[outputs] + home = ["HTML", "RSS", "SearchIndex"] + +[permalinks] + post = "/:section/:filename/" # Custom post links, e.g. "/:year/:month/:title/" + +[params] + author = "Jef Roosens" # You can also set author in post front matter individually + subTitle = "My personal blog about all things software." + + # Source URL of the website, will appear in the footer + sourceURL = "" + + # Word counter and read time indicator in post metadata + showWordCounter = true + showReadTime = true + + # License in the footer + showLicenseInFooter = false + + # License at the end of each post + showLicense = false + showToc = true + + # Copyright + copyrightStartYear = "2020" + + # Open Graph & Twitter Card variables + # You can also set description and images in post front matter individually + description = "A minimal Hugo theme with nice theme color." + images = ["img/og.png"] # This will use the image called og.png in static/img folder + + # Posts shown in homepage + mainSections = ["posts"] + + # Bangumi image chart id + # bgmImageChart = "000000" + + # License + license = "CC BY-NC-SA 4.0" + licenseLink = "http://creativecommons.org/licenses/by-nc-sa/4.0/" + + # Comments + # utterances, see: https://utteranc.es/ + # utterancesRepo = "*/*" + # utterancesIssueTerm = "pathname" + + # Disqus, see: https://disqus.com/admin/install/platforms/universalcode/ + # disqusShortname = "*********" + # Also use DisqusJS for accessing from Mainland China, see: https://github.com/SukkaW/DisqusJS + # If you want to set multiple api key, see theme's README for more details + # disqusJSApi = "https://*********/" + # disqusJSApikey = "**********" + + # custom lazyload placeholder + # 16:9 + lazyPlaceholder = "/assets/lazyload/dsrca_loading_480x270.svg" + # 32:9 + lazyPlaceholderRow = "/assets/lazyload/dsrca_loading_960x270.svg" + # 8:9 + lazyPlaceholderCol = "/assets/lazyload/dsrca_loading_480x540.svg" + + # Let images display in full brightness under dark mode + # disableDarkImage = true + +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true # Enable user to embed HTML snippets in Markdown content + [markup.highlight] + codeFences = false # Disable Hugo's code highlighter + + [markup.tableOfContents] + startLevel = 1 + endLevel = 3 + +[taxonomies] + tag = "tags" + +[menu] + [[menu.nav]] name = "Home" - identifier = "home" url = "/" - -[[menu.main]] - name = "Posts" - identifier = "posts" - url = "/posts/" + weight = 1 + [[menu.nav]] + name = "Archives" + url = "/archives/" + weight = 2 + [[menu.nav]] + name = "About" + url = "/about/" + weight = 3 + [[menu.nav]] + name = "Search" + url = "/search/" + weight = 4 + [[menu.nav]] + name = "RSS" + url = "/index.xml" + weight = 5 -[params.social] - github = "ChewingBever" - gitlab = "Chewing_Bever" + [[menu.link]] + name = "GitHub" + url = "https://github.com/amzrk2" + weight = 1 + [[menu.link]] + name = "Twitter" + url = "https://twitter.com/amzrk2" + weight = 2 + [[menu.link]] + name = "bilibili" + url = "https://space.bilibili.com/19767474" + weight = 3 diff --git a/content/posts/Nextcloud.md b/content/posts/Nextcloud.md index ca4abd1..80cf1f8 100644 --- a/content/posts/Nextcloud.md +++ b/content/posts/Nextcloud.md @@ -1,6 +1,7 @@ --- +draft: true title: "Dockerized Nextcloud" date: 2020-11-27T15:04:55+01:00 -draft: true +tags: ["Docker"] --- diff --git a/content/posts/Transmission Server.md b/content/posts/Transmission Server.md index 965573a..3612821 100644 --- a/content/posts/Transmission Server.md +++ b/content/posts/Transmission Server.md @@ -1,6 +1,7 @@ --- title: "Transmission On Docker" date: 2020-11-26T15:20:30+01:00 +tags: ["Docker"] draft: true --- @@ -14,7 +15,7 @@ In this tutorial, I'll be teaching you how to install Transmission Server on your VPS or server of choice using Docker, so you can download torrents at blazing fast speeds. -# Needed Software +## Needed Software First of all, we'll need Docker and docker-compose. On Ubuntu, you can install these as follows: @@ -23,7 +24,7 @@ these as follows: For other distros, just use their respective package manager. The Docker package will probably be called `docker.io` or `docker`. -# The Image +## The Image We'll be using [linuxserver.io](https://www.linuxserver.io/)'s [Transmission Image](https://docs.linuxserver.io/images/docker-transmission). It comes pre-configured, and can mostly be initialized by just setting some diff --git a/themes/book b/themes/book new file mode 160000 index 0000000..a486adf --- /dev/null +++ b/themes/book @@ -0,0 +1 @@ +Subproject commit a486adf8462c0abfc9034436ddd72927d6656809 diff --git a/themes/fuji b/themes/fuji new file mode 160000 index 0000000..d26532c --- /dev/null +++ b/themes/fuji @@ -0,0 +1 @@ +Subproject commit d26532c8d6062e9ec02ed2b67b87cc7a38d7660c diff --git a/themes/terminal b/themes/terminal new file mode 160000 index 0000000..c3f51a4 --- /dev/null +++ b/themes/terminal @@ -0,0 +1 @@ +Subproject commit c3f51a4c11cf8626316f561002245367d7c4fc37