From 1cb8b38d87cb90aeab39788baffba4c661c91953 Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 10 Apr 2022 10:36:13 -0500 Subject: [PATCH] Initial config.toml commit, test content & add to README.md --- README.md | 4 +++ config.toml | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) create mode 100644 config.toml diff --git a/README.md b/README.md index 3605109..1365f21 100644 --- a/README.md +++ b/README.md @@ -11,10 +11,14 @@ A little page for me to learn about PowerShell, put my scripts, and build a chea ## Usage +This application can be served for local develop using + ```bash hugo serve ``` +but it will also automatically deploy to [xevion.github.io][website-url] when any commits hit `master`. + [repo-url]: https://github.com/Xevion/powershell/ [website-url]: https://xevion.github.io/powershell/ [license-url]: https://github.com/Xevion/powershell/blob/master/LICENSE diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..6d8a8bc --- /dev/null +++ b/config.toml @@ -0,0 +1,93 @@ +#baseURL = 'https://xevion.github.io/ ' +baseURL = '' +languageCode = 'en-us' +title = 'Powershell by Xevion' +paginate = 5 +theme = 'terminal' + +[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 = "blue" + +# 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 = false + +# if your resource directory contains an image called `cover.(jpg|png|webp)`, +# then the file will be used as a cover automatically. +# With this option you don't have to put the `cover` param in a front-matter. +autoCover = true + +# 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 + +# set a custom favicon (default is a `themeColor` square) +# favicon = "favicon.ico" + +# 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) +# oneHeadingSize = true # default + +# whether to show a page's estimated reading time +# readingTime = false # default + +# whether to show a table of contents +# can be overridden in a page's front-matter +# Toc = false # default + +# set title for the table of contents +# can be overridden in a page's front-matter +# TocTitle = "Table of Contents" # default + + +[params.twitter] +# set Twitter handles for Twitter cards +# see https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#card-and-content-attribution +# do not include @ +creator = "" +site = "" + +[languages] +[languages.en] +languageName = "English" +title = "Powershell" +subtitle = "A place for my scripts, thoughts and ideas on PowerShell." +owner = "Xevion" +keywords = "" +copyright = "Xevion (c) 2022" +menuMore = "Show more" +readMore = "Read more" +readOtherPosts = "Read other posts" +newerPosts = "Newer posts" +olderPosts = "Older 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 = "Test" +url = "/test/test.md" +[[languages.en.menu.main]] +identifier = "showcase" +name = "Showcase" +url = "/showcase" \ No newline at end of file