From ee04b14822c68ef9c65cbcc8000d5029f3239872 Mon Sep 17 00:00:00 2001 From: James Turk Date: Sun, 16 Apr 2023 15:22:21 -0500 Subject: [PATCH] hugo --- .gitignore | 2 + yoyodyne.games/archetypes/default.md | 6 ++ yoyodyne.games/config.toml | 103 +++++++++++++++++++++++++++ yoyodyne.games/content/about.md | 2 + yoyodyne.games/themes/terminal | 1 + 5 files changed, 114 insertions(+) create mode 100644 yoyodyne.games/archetypes/default.md create mode 100644 yoyodyne.games/config.toml create mode 100644 yoyodyne.games/content/about.md create mode 160000 yoyodyne.games/themes/terminal diff --git a/.gitignore b/.gitignore index 94b05f7..d0f3f88 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ *.log *.p8l demos +.hugo_build.lock +*/resources/_gen/* diff --git a/yoyodyne.games/archetypes/default.md b/yoyodyne.games/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/yoyodyne.games/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/yoyodyne.games/config.toml b/yoyodyne.games/config.toml new file mode 100644 index 0000000..f3b5bb5 --- /dev/null +++ b/yoyodyne.games/config.toml @@ -0,0 +1,103 @@ +baseURL = '/' +title = 'Yoyodyne Entertainment Systems' + +languageCode = "en-us" +# Add it only if you keep the theme in the `themes` directory. +# Remove it if you use the theme as a remote Hugo Module. +theme = "terminal" +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 = "green" + + # 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 = "Yoyodyne Entertainment Systems" + subtitle = "" + owner = "" + keywords = "" + copyright = "" + 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 = "About" + url = "/about" + [[languages.en.menu.main]] + identifier = "showcase" + name = "Showcase" + url = "/showcase" + +[module] + # In case you would like to make changes to the theme and keep it locally in you repository, + # uncomment the line below (and correct the local path if necessary). + # -- + replacements = "github.com/panr/hugo-theme-terminal -> terminal" +[[module.imports]] + path = 'github.com/panr/hugo-theme-terminal' diff --git a/yoyodyne.games/content/about.md b/yoyodyne.games/content/about.md new file mode 100644 index 0000000..9feb252 --- /dev/null +++ b/yoyodyne.games/content/about.md @@ -0,0 +1,2 @@ +## Testing + diff --git a/yoyodyne.games/themes/terminal b/yoyodyne.games/themes/terminal new file mode 160000 index 0000000..9726b8d --- /dev/null +++ b/yoyodyne.games/themes/terminal @@ -0,0 +1 @@ +Subproject commit 9726b8d80658c6cf3c092c21484548aba6f64a68