diff --git a/.gitmodules b/.gitmodules index 5154615..7298629 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ -[submodule "themes/ananke"] - path = themes/ananke - url = https://github.com/theNewDynamic/gohugo-theme-ananke.git +[submodule "themes/risotto"] + path = themes/risotto + url = https://github.com/joeroe/risotto.git + diff --git a/config.toml b/config.toml index eb0920b..f852656 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,100 @@ -baseURL = 'https://kitsunehosting.net/' -languageCode = 'en-us' -title = 'KitsuneHosting' -theme = "ananke" +baseURL = "https://kitsunehosting.net" +theme = "risotto" +title = "KitsuneHosting" +author = "Joe" +copyright = "© [Joe](https://github.com/KenwoodFox)" +paginate = 3 +languageCode = "en" +DefaultContentLanguage = "en" +enableInlineShortcodes = true +# prevent build failures when using Hugo's Instagram shortcode due to deprecated Instagram API. +# See https://github.com/gohugoio/hugo/issues/7228#issuecomment-714490456 +ignoreErrors = ["error-remote-getjson"] + +# Automatically add content sections to main menu +sectionPagesMenu = "main" + +[params] +noindex = false + +[params.theme] +palette = "base16-dark" + +# Sidebar: about/bio +[params.about] +title = "risotto" +description = "A [hugo](https://gohugo.io) theme inspired by terminal ricing." +logo = "images/rice.svg" + +# Sidebar: social links +# Available icon sets: +# * FontAwesome 6 ('fa-brands', 'fa-normal', or 'fa-solid' for brands) +# * Academicons ('ai ai-') + +[[params.socialLinks]] +icon = "fa-brands fa-github" +title = "GitHub" +url = "https://github.com/joeroe/risotto" + +[[params.socialLinks]] +icon = "fa-solid fa-envelope" +title = "Email" +url = "mailto:example@example.com" + +[[params.socialLinks]] +icon = "ai ai-orcid" +title = "ORCID" +url = "https://orcid.org/0000-0001-2345-6789" + +[menu] + +[[menu.main]] +identifier = "about" +name = "About" +url = "/about/" +weight = 10 + +[taxonomies] +category = "categories" +tag = "tags" +series = "series" + +# For hugo >= 0.60.0, enable inline HTML +[markup.goldmark.renderer] +unsafe = true + +[markup] + +# Table of contents +# Add toc = true to content front matter to enable +[markup.tableOfContents] +startLevel = 2 +endLevel = 3 +ordered = true + +[privacy] + +[privacy.vimeo] +disabled = false +simple = true + +[privacy.twitter] +disabled = false +enableDNT = true +simple = true + +[privacy.instagram] +disabled = false +simple = true + +[privacy.youtube] +disabled = false +privacyEnhanced = true + +[services] + +[services.instagram] +disableInlineCSS = true + +[services.twitter] +disableInlineCSS = true diff --git a/configTaxo.toml b/configTaxo.toml new file mode 100644 index 0000000..08a84cb --- /dev/null +++ b/configTaxo.toml @@ -0,0 +1,27 @@ +timeout = 30000 +enableInlineShortcodes = true + +[taxonomies] +category = "categories" +tag = "tags" +series = "series" + +[privacy] + +[privacy.vimeo] +disabled = false +simple = true + +[privacy.twitter] +disabled = false +enableDNT = true +simple = true +disableInlineCSS = true + +[privacy.instagram] +disabled = false +simple = true + +[privacy.youtube] +disabled = false +privacyEnhanced = true diff --git a/content/_index.md b/content/_index.md index 9a75824..85ab3d5 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,12 +1,6 @@ --- -author: "Your Name" -title: "My First Post" -date: "2022-05-17" +author: "Hugo Authors" --- -Hello i live here. -Pensive wobble lol - - -oh +Yep diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..551ad8a --- /dev/null +++ b/content/about.md @@ -0,0 +1,9 @@ +--- +title: "About" +description: "Kitsune Hosting: a foxy web component!" +date: "2023" +aliases: ["about-us", "about", "contact"] +author: "Joe" +--- + +Todo! Put some stuff in here! diff --git a/content/archives.md b/content/archives.md new file mode 100644 index 0000000..d7a6012 --- /dev/null +++ b/content/archives.md @@ -0,0 +1,7 @@ +--- +date: 2019-05-28 +type: section +layout: "archives" +--- + +Archives here? diff --git a/content/post/_index.md b/content/post/_index.md new file mode 100644 index 0000000..7b5de1d --- /dev/null +++ b/content/post/_index.md @@ -0,0 +1,7 @@ +--- +aliases: ["posts", "articles", "blog", "showcase", "docs"] +title: "Posts" +author: "Hugo Authors" +description: "Example posts demonstrating hugo's markup features" +tags: ["index"] +--- diff --git a/content/post/emoji-support.md b/content/post/emoji-support.md new file mode 100644 index 0000000..dc3589a --- /dev/null +++ b/content/post/emoji-support.md @@ -0,0 +1,46 @@ ++++ +author = "Hugo Authors" +title = "Emoji Support" +date = "2019-03-05" +description = "Guide to emoji usage in Hugo" +tags = [ + "emoji", +] ++++ + +Emoji can be enabled in a Hugo project in a number of ways. + +The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). + +To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g. + +

🙈 :see_no_evil: 🙉 :hear_no_evil: 🙊 :speak_no_evil:

+
+ +The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. + +*** + +**N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g. + +{{< highlight html >}} +.emoji { + font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols; +} +{{< /highlight >}} + +{{< css.inline >}} + +{{< /css.inline >}} diff --git a/content/post/markdown-syntax.md b/content/post/markdown-syntax.md new file mode 100644 index 0000000..06990d7 --- /dev/null +++ b/content/post/markdown-syntax.md @@ -0,0 +1,148 @@ ++++ +author = "Hugo Authors" +title = "Markdown Syntax Guide" +date = "2019-03-11" +description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements." +tags = [ + "markdown", + "css", + "html", +] +categories = [ + "themes", + "syntax", +] +series = ["Themes Guide"] +aliases = ["migrate-from-jekyl"] ++++ + +This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. + + +## Headings + +The following HTML `

`—`

` elements represent six levels of section headings. `

` is the highest section level while `

` is the lowest. + +# H1 +## H2 +### H3 +#### H4 +##### H5 +###### H6 + +## Paragraph + +Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. + +Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. + +## Blockquotes + +The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. + +#### Blockquote without attribution + +> Tiam, ad mint andaepu dandae nostion secatur sequo quae. +> **Note** that you can use *Markdown syntax* within a blockquote. + +#### Blockquote with attribution + +> Don't communicate by sharing memory, share memory by communicating.
+> — Rob Pike[^1] + +[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. + +## Tables + +Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box. + + Name | Age +--------|------ + Bob | 27 + Alice | 23 + +#### Inline Markdown within tables + +| Italics | Bold | Code | +| -------- | -------- | ------ | +| *italics* | **bold** | `code` | + +## Code Blocks + +#### Code block with backticks + +```html + + + + + Example HTML5 Document + + +

Test

+ + +``` + +#### Code block indented with four spaces + + + + + + Example HTML5 Document + + +

Test

+ + + +#### Code block with Hugo's internal highlight shortcode +{{< highlight html >}} + + + + + Example HTML5 Document + + +

Test

+ + +{{< /highlight >}} + +## List Types + +#### Ordered List + +1. First item +2. Second item +3. Third item + +#### Unordered List + +* List item +* Another item +* And another item + +#### Nested list + +* Fruit + * Apple + * Orange + * Banana +* Dairy + * Milk + * Cheese + +## Other Elements — abbr, sub, sup, kbd, mark + +GIF is a bitmap image format. + +H2O + +Xn + Yn = Zn + +Press CTRL+ALT+Delete to end the session. + +Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. diff --git a/content/post/math-typesetting.md b/content/post/math-typesetting.md new file mode 100644 index 0000000..48fdc79 --- /dev/null +++ b/content/post/math-typesetting.md @@ -0,0 +1,49 @@ +--- +author: Hugo Authors +title: Math Typesetting +date: 2019-03-08 +description: A brief guide to setup KaTeX +math: true +--- + +Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries. + + +In this example we will be using [KaTeX](https://katex.org/) + +- Create a partial under `/layouts/partials/math.html` +- Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally. +- Include the partial in your templates like so: + +```bash +{{ if or .Params.math .Site.Params.math }} +{{ partial "math.html" . }} +{{ end }} +``` + +- To enable KaTex globally set the parameter `math` to `true` in a project's configuration +- To enable KaTex on a per page basis include the parameter `math: true` in content files + +**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html) + +{{< math.inline >}} +{{ if or .Page.Params.math .Site.Params.math }} + + + + +{{ end }} +{{}} + +### Examples + +{{< math.inline >}} +

+Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\) +

+{{}} + +Block math: +$$ + \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } +$$ diff --git a/content/post/placeholder-text.md b/content/post/placeholder-text.md new file mode 100644 index 0000000..9ed5f69 --- /dev/null +++ b/content/post/placeholder-text.md @@ -0,0 +1,45 @@ ++++ +author = "Hugo Authors" +title = "Placeholder Text" +date = "2019-03-09" +description = "Lorem Ipsum Dolor Si Amet" +tags = [ + "markdown", + "text", +] ++++ + +Lorem est tota propiore conpellat pectoribus de pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum. + +1. Exierant elisi ambit vivere dedere +2. Duce pollice +3. Eris modo +4. Spargitque ferrea quos palude + +Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis. + +1. Comas hunc haec pietate fetum procerum dixit +2. Post torum vates letum Tiresia +3. Flumen querellas +4. Arcanaque montibus omnes +5. Quidem et + +# Vagus elidunt + + + +[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) + +## Mane refeci capiebant unda mulcebat + +Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis. + +Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et. + +Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**. + +{{< css.inline >}} + +{{< /css.inline >}} diff --git a/content/post/rich-content.md b/content/post/rich-content.md new file mode 100644 index 0000000..92b4b03 --- /dev/null +++ b/content/post/rich-content.md @@ -0,0 +1,34 @@ ++++ +author = "Hugo Authors" +title = "Rich Content" +date = "2019-03-10" +description = "A brief description of Hugo Shortcodes" +tags = [ + "shortcodes", + "privacy", +] ++++ + +Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. + +--- + +## YouTube Privacy Enhanced Shortcode + +{{< youtube ZJthWmvUzzc >}} + +
+ +--- + +## Twitter Simple Shortcode + +{{< twitter_simple 1085870671291310081 >}} + +
+ +--- + +## Vimeo Simple Shortcode + +{{< vimeo_simple 48912912 >}} diff --git a/content/posts/my-first-post.md b/content/posts/my-first-post.md deleted file mode 100644 index cd20f19..0000000 --- a/content/posts/my-first-post.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "My First Post" -date: 2022-09-14T14:50:08-04:00 -draft: true ---- - -Wow, this is epic diff --git a/content/projects/Accident Counter.md b/content/projects/Accident Counter.md new file mode 100644 index 0000000..82c8e04 --- /dev/null +++ b/content/projects/Accident Counter.md @@ -0,0 +1,13 @@ +--- +title: "Accident Counter" +description: "A project for FRC 1721" +--- + +TODO: Tie this in via git submodules? + +Why no more? + + +## Heading + +{{< youtube R463rN57n-0 >}} diff --git a/content/projects/_index.md b/content/projects/_index.md new file mode 100644 index 0000000..2b90afb --- /dev/null +++ b/content/projects/_index.md @@ -0,0 +1,6 @@ +--- +aliases: ["projects"] +title: "Projects" +description: "Projects and summaries" +tags: ["project"] +--- diff --git a/layouts/.gitkeep b/layouts/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/static/README b/static/README new file mode 100644 index 0000000..9c565ef --- /dev/null +++ b/static/README @@ -0,0 +1,6 @@ +The favicons in this directory were generated using the following graphics from Twitter Twemoji: + +- Graphics Title: 1f35a.svg +- Graphics Author: Copyright 2020 Twitter, Inc and other contributors (https://github.com/twitter/twemoji) +- Graphics Source: https://github.com/twitter/twemoji/blob/master/assets/svg/1f35a.svg +- Graphics License: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/) diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png new file mode 100644 index 0000000..dc22f05 Binary files /dev/null and b/static/android-chrome-192x192.png differ diff --git a/static/android-chrome-512x512.png b/static/android-chrome-512x512.png new file mode 100644 index 0000000..fa80ccd Binary files /dev/null and b/static/android-chrome-512x512.png differ diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png new file mode 100644 index 0000000..c5668a3 Binary files /dev/null and b/static/apple-touch-icon.png differ diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png new file mode 100644 index 0000000..2ec54d8 Binary files /dev/null and b/static/favicon-16x16.png differ diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png new file mode 100644 index 0000000..047ad4a Binary files /dev/null and b/static/favicon-32x32.png differ diff --git a/static/favicon.ico b/static/favicon.ico new file mode 100644 index 0000000..7ccf4bb Binary files /dev/null and b/static/favicon.ico differ diff --git a/static/site.webmanifest b/static/site.webmanifest new file mode 100644 index 0000000..fa99de7 --- /dev/null +++ b/static/site.webmanifest @@ -0,0 +1,19 @@ +{ + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/themes/risotto b/themes/risotto new file mode 160000 index 0000000..4343550 --- /dev/null +++ b/themes/risotto @@ -0,0 +1 @@ +Subproject commit 4343550d785d8cce942ac5109aa9fdd9d9a70823