summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2018-05-21 13:21:26 +0200
committerjaseg <git@jaseg.net>2018-05-21 13:21:26 +0200
commita78380049fca7eb6de32d60898463943731cae77 (patch)
tree44ac813c0c79f91f03af577b4bbc91ee73186e32
parentdd025431a0c6f994509d374b7c416df2cedd9497 (diff)
downloadblog-a78380049fca7eb6de32d60898463943731cae77.tar.gz
blog-a78380049fca7eb6de32d60898463943731cae77.tar.bz2
blog-a78380049fca7eb6de32d60898463943731cae77.zip
Vendor heavily modified theme
-rw-r--r--.gitmodules6
m---------themes/after-dark0
m---------themes/ananke0
m---------themes/hugo-classic0
-rw-r--r--themes/hugo-classic/LICENSE.md18
-rw-r--r--themes/hugo-classic/README.md73
-rw-r--r--themes/hugo-classic/archetypes/default.md4
-rw-r--r--themes/hugo-classic/exampleSite/config.toml33
-rw-r--r--themes/hugo-classic/exampleSite/content/_index.md28
-rw-r--r--themes/hugo-classic/exampleSite/content/post/2012-01-23-juicy-code.md30
-rw-r--r--themes/hugo-classic/exampleSite/content/post/2012-04-23-hacker-with-horn.md25
-rw-r--r--themes/hugo-classic/exampleSite/content/post/2015-07-23-command-line-awesomeness.md14
-rw-r--r--themes/hugo-classic/exampleSite/content/post/2016-02-14-markdown-guide.md171
-rw-r--r--themes/hugo-classic/exampleSite/static/css/theme-override.css1
-rw-r--r--themes/hugo-classic/images/partywizard.gifbin0 -> 23511 bytes
-rw-r--r--themes/hugo-classic/images/screenshot.pngbin0 -> 240374 bytes
-rw-r--r--themes/hugo-classic/images/tn.pngbin0 -> 130371 bytes
-rw-r--r--themes/hugo-classic/layouts/404.html5
-rw-r--r--themes/hugo-classic/layouts/_default/list.html18
-rw-r--r--themes/hugo-classic/layouts/_default/single.html23
-rw-r--r--themes/hugo-classic/layouts/_default/terms.html16
-rw-r--r--themes/hugo-classic/layouts/partials/foot_custom.html25
-rw-r--r--themes/hugo-classic/layouts/partials/footer.html13
-rw-r--r--themes/hugo-classic/layouts/partials/head_custom.html33
-rw-r--r--themes/hugo-classic/layouts/partials/header.html16
-rw-r--r--themes/hugo-classic/static/css/fonts.css7
-rw-r--r--themes/hugo-classic/static/css/style.css241
-rw-r--r--themes/hugo-classic/theme.toml17
28 files changed, 811 insertions, 6 deletions
diff --git a/.gitmodules b/.gitmodules
index 76fbb00..e69de29 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +0,0 @@
-[submodule "themes/after-dark"]
- path = themes/after-dark
- url = https://github.com/comfusion/after-dark
-[submodule "themes/ananke"]
- path = themes/ananke
- url = https://github.com/budparr/gohugo-theme-ananke.git
diff --git a/themes/after-dark b/themes/after-dark
deleted file mode 160000
-Subproject 7b4ddbf697db366c53fb3279aefa8bf36daad99
diff --git a/themes/ananke b/themes/ananke
deleted file mode 160000
-Subproject 41727a62e2afa9cdb1c828ddeafc2928d5566c3
diff --git a/themes/hugo-classic b/themes/hugo-classic
deleted file mode 160000
-Subproject e28d1cb6083bbe0be304650ec1122b4be7862a9
diff --git a/themes/hugo-classic/LICENSE.md b/themes/hugo-classic/LICENSE.md
new file mode 100644
index 0000000..c7d9150
--- /dev/null
+++ b/themes/hugo-classic/LICENSE.md
@@ -0,0 +1,18 @@
+The MIT License (MIT)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/themes/hugo-classic/README.md b/themes/hugo-classic/README.md
new file mode 100644
index 0000000..5135313
--- /dev/null
+++ b/themes/hugo-classic/README.md
@@ -0,0 +1,73 @@
+# Hugo.io - Classic Theme
+
+Classic is forked from the **XMin** theme, written by [Yihui Xie](https://yihui.name). I made a fresh remix of it for my [personal blog](https://goodroot.ca). It provides some simplifications, `highlight.js` for syntax highlighting, emoji support, and slick fonts.
+
+### Instructions
+
+1: Install Hugo.
+
+```
+brew install hugo
+```
+
+2: Create a new site.
+
+```
+hugo new site classic
+```
+
+3: Change to themes dir.
+
+```
+cd classic/themes
+```
+
+4: Clone the repo
+
+```
+git clone git@github.com:goodroot/hugo-classic.git
+```
+
+5: Copy the contents of the `exampleSite` directory into {dir}/classic.
+
+6: Enjoy and customize to your hearts content!
+
+### New Posts
+
+To make new posts, simply use the command line:
+
+```
+hugo new post/good-to-great.md
+```
+
+### Header Colour
+
+To adjust the header colour, head to `static/css/style.css` and change...
+
+```
+header {
+ background: #613DC1;
+}
+```
+
+... `background:` to any colour value you'd like!
+
+For header font:
+
+```
+header a {
+ color: #fff;
+}
+```
+
+Change `color:` to a nice matching colour.
+
+#### Screenshot
+
+![Screenshot of Hugo Classic](https://github.com/goodroot/hugo-classic/raw/master/images/screenshot.png)
+
+## Blog Posts
+
+hugo-classic has appeared in...
+
+[15 Hugo Framework blog themes](https://terrty.net/2018/15-hugo-framework-blog-themes/) by [paskal](https://github.com/paskal)
diff --git a/themes/hugo-classic/archetypes/default.md b/themes/hugo-classic/archetypes/default.md
new file mode 100644
index 0000000..fb98e92
--- /dev/null
+++ b/themes/hugo-classic/archetypes/default.md
@@ -0,0 +1,4 @@
+---
+title: ''
+date: ''
+---
diff --git a/themes/hugo-classic/exampleSite/config.toml b/themes/hugo-classic/exampleSite/config.toml
new file mode 100644
index 0000000..f5ff3dd
--- /dev/null
+++ b/themes/hugo-classic/exampleSite/config.toml
@@ -0,0 +1,33 @@
+baseurl = "/"
+languageCode = "en-us"
+title = "Classic"
+theme = "hugo-classic"
+googleAnalytics = ""
+ignoreFiles = ["\\.Rmd$", "_files$", "_cache$"]
+preserveTaxonomyNames = true
+enableEmoji = true
+footnotereturnlinkcontents = "↩"
+
+[permalinks]
+ post = "/post/:year/:month/:day/:slug/"
+
+[[menu.main]]
+ name = "Home"
+ url = "/"
+ weight = 1
+[[menu.main]]
+ name = "Categories"
+ url = "/categories/"
+ weight = 2
+[[menu.main]]
+ name = "Tags"
+ url = "/tags/"
+ weight = 3
+[[menu.feed]]
+ name = "Subscribe"
+ url = "/index.xml"
+
+[params]
+ description = "A simple, minimal blog for those who love text."
+ footer = "Open-Source | [Github](https://github.com/goodroot/hugo-classic) | [Twitter](https://twitter.com/thegoodroot)"
+ custom_css = ["css/theme-override.css"]
diff --git a/themes/hugo-classic/exampleSite/content/_index.md b/themes/hugo-classic/exampleSite/content/_index.md
new file mode 100644
index 0000000..32af099
--- /dev/null
+++ b/themes/hugo-classic/exampleSite/content/_index.md
@@ -0,0 +1,28 @@
+---
+title: Home
+---
+
+[<img src="https://github.com/goodroot/hugo-classic/raw/master/images/partywizard.gif" style="max-width:15%;min-width:40px;float:right;" alt="Github repo" />](https://github.com/goodroot/hugo-classic)
+
+# Hugo.io - Classic
+
+### For text focused goodness
+
+About twenty years ago Jobs and Wozniak, the founders of Apple, came up with the very strange idea of selling information processing machines for use in the home. The business took off, and its founders made a lot of money and received the credit they deserved for being daring visionaries. But around the same time, Bill Gates and Paul Allen came up with an idea even stranger and more fantastical: **selling computer operating systems**. This was much weirder than the idea of Jobs and Wozniak.
+
+~~~ruby
+def with_value_from_database(value)
+ self.class.from_database(name, value, type)
+end
+
+def with_cast_value(value)
+ self.class.with_cast_value(name, value, type)
+end
+end
+~~~
+
+A computer at least had some sort of physical reality to it. It came in a box, you could open it up and plug it in and watch lights blink. An operating system had no tangible incarnation at all. It arrived on a disk, of course, but the disk was, in effect, nothing more than the box that the OS came in.
+
+<hr/>
+
+### Blog
diff --git a/themes/hugo-classic/exampleSite/content/post/2012-01-23-juicy-code.md b/themes/hugo-classic/exampleSite/content/post/2012-01-23-juicy-code.md
new file mode 100644
index 0000000..4614e74
--- /dev/null
+++ b/themes/hugo-classic/exampleSite/content/post/2012-01-23-juicy-code.md
@@ -0,0 +1,30 @@
+---
+title: Juicy Code
+author: Open Source
+date: '2012-01-23'
+categories:
+ - Code
+tags:
+ - Juicy
+slug: juicy-code
+---
+
+Check out this JUICY! code:
+
+~~~ruby
+def with_value_from_database(value)
+ self.class.from_database(name, value, type)
+end
+
+def with_cast_value(value)
+ self.class.with_cast_value(name, value, type)
+end
+
+def with_type(type)
+ if changed_in_place?
+ with_value_from_user(value).with_type(type)
+ else
+ self.class.new(name, value_before_type_cast, type, original_attribute)
+ end
+end
+~~~
diff --git a/themes/hugo-classic/exampleSite/content/post/2012-04-23-hacker-with-horn.md b/themes/hugo-classic/exampleSite/content/post/2012-04-23-hacker-with-horn.md
new file mode 100644
index 0000000..8511d11
--- /dev/null
+++ b/themes/hugo-classic/exampleSite/content/post/2012-04-23-hacker-with-horn.md
@@ -0,0 +1,25 @@
+---
+title: Hacker with Bullhorn
+author: Open-Source
+date: '2012-04-23'
+categories:
+ - Bullhorn
+ - Example
+slug: hacker-with-horn
+---
+
+Hacker with bullhorn: "Save your money! Accept one of our free tanks! It is invulnerable, and can drive across rocks and swamps at ninety miles an hour while getting a hundred miles to the gallon!"
+
+Prospective station wagon buyer: "I know what you say is true...but...er...I don't know how to maintain a tank!"
+
+Bullhorn: "You don't know how to maintain a station wagon either!"
+
+Buyer: "But this dealership has mechanics on staff. If something goes wrong with my station wagon, I can take a day off work, bring it here, and pay them to work on it while I sit in the waiting room for hours, listening to elevator music."
+
+Bullhorn: "But if you accept one of our free tanks we will send volunteers to your house to fix it for free while you sleep!"
+
+Buyer: "Stay away from my house, you freak!"
+
+Bullhorn: "But..."
+
+Buyer: "Can't you see that everyone is buying station wagons?"
diff --git a/themes/hugo-classic/exampleSite/content/post/2015-07-23-command-line-awesomeness.md b/themes/hugo-classic/exampleSite/content/post/2015-07-23-command-line-awesomeness.md
new file mode 100644
index 0000000..6914648
--- /dev/null
+++ b/themes/hugo-classic/exampleSite/content/post/2015-07-23-command-line-awesomeness.md
@@ -0,0 +1,14 @@
+---
+title: "Command Line Awesomeness"
+date: '2012-03-12'
+categories:
+ - Blog
+tags:
+ - HTML
+---
+
+This crud is called HTML (HyperText Markup Language) and it is basically a very simple programming language instructing your web browser how to draw a page on a screen. Anyone can learn HTML and many people do. The important thing is that no matter what splendid multimedia web pages they might represent, HTML files are just telegrams.
+
+> When Ronald Reagan was a radio announcer, he used to call baseball games by reading the terse descriptions that trickled in over the telegraph wire and were printed out on a paper tape. He would sit there, all by himself in a padded room with a microphone, and the paper tape would eke out of the machine and crawl over the palm of his hand printed with cryptic abbreviations. If the count went to three and two, Reagan would describe the scene as he saw it in his mind's eye: "The brawny left-hander steps out of the batter's box to wipe the sweat from his brow. The umpire steps forward to sweep the dirt from home plate." and so on. When the cryptogram on the paper tape announced a base hit, he would whack the edge of the table with a pencil, creating a little sound effect, and describe the arc of the ball as if he could actually see it. His listeners, many of whom presumably thought that Reagan was actually at the ballpark watching the game, would reconstruct the scene in their minds according to his descriptions.
+
+This is exactly how the World Wide Web works: the HTML files are the pithy description on the paper tape, and your Web browser is Ronald Reagan. The same is true of Graphical User Interfaces in general.
diff --git a/themes/hugo-classic/exampleSite/content/post/2016-02-14-markdown-guide.md b/themes/hugo-classic/exampleSite/content/post/2016-02-14-markdown-guide.md
new file mode 100644
index 0000000..fc64964
--- /dev/null
+++ b/themes/hugo-classic/exampleSite/content/post/2016-02-14-markdown-guide.md
@@ -0,0 +1,171 @@
+---
+title: Markdown Guide
+author: Open Source
+date: '2014-03-14'
+categories:
+ - Example
+tags:
+ - Markdown
+---
+
+An h1 header
+============
+
+Paragraphs are separated by a blank line.
+
+2nd paragraph. *Italic*, **bold**, and `monospace`. Itemized lists
+look like:
+
+ * this one
+ * that one
+ * the other one
+
+Note that --- not considering the asterisk --- the actual text
+content starts at 4-columns in.
+
+> Block quotes are
+> written like so.
+>
+> They can span multiple paragraphs,
+> if you like.
+
+Use 3 dashes for an em-dash. Use 2 dashes for ranges (ex., "it's all
+in chapters 12--14"). Three dots ... will be converted to an ellipsis.
+Unicode is supported. ☺
+
+
+
+An h2 header
+------------
+
+Here's a numbered list:
+
+ 1. first item
+ 2. second item
+ 3. third item
+
+Note again how the actual text starts at 4 columns in (4 characters
+from the left side). Here's a code sample:
+
+ # Let me re-iterate ...
+ for i in 1 .. 10 { do-something(i) }
+
+As you probably guessed, indented 4 spaces. By the way, instead of
+indenting the block, you can use delimited blocks, if you like:
+
+~~~
+define foobar() {
+ print "Welcome to flavor country!";
+}
+~~~
+
+(which makes copying & pasting easier). You can optionally mark the
+delimited block for Pandoc to syntax highlight it:
+
+~~~python
+import time
+# Quick, count to ten!
+for i in range(10):
+ # (but not *too* quick)
+ time.sleep(0.5)
+ print i
+~~~
+
+
+
+### An h3 header ###
+
+Now a nested list:
+
+ 1. First, get these ingredients:
+
+ * carrots
+ * celery
+ * lentils
+
+ 2. Boil some water.
+
+ 3. Dump everything in the pot and follow
+ this algorithm:
+
+ find wooden spoon
+ uncover pot
+ stir
+ cover pot
+ balance wooden spoon precariously on pot handle
+ wait 10 minutes
+ goto first step (or shut off burner when done)
+
+ Do not bump wooden spoon or it will fall.
+
+Notice again how text always lines up on 4-space indents (including
+that last line which continues item 3 above).
+
+Here's a link to [a website](http://foo.bar), to a [local
+doc](local-doc.html), and to a [section heading in the current
+doc](#an-h2-header). Here's a footnote [^1].
+
+[^1]: Footnote text goes here.
+
+Tables can look like this:
+
+size material color
+---- ------------ ------------
+9 leather brown
+10 hemp canvas natural
+11 glass transparent
+
+Table: Shoes, their sizes, and what they're made of
+
+(The above is the caption for the table.) Pandoc also supports
+multi-line tables:
+
+-------- -----------------------
+keyword text
+-------- -----------------------
+red Sunsets, apples, and
+ other red or reddish
+ things.
+
+green Leaves, grass, frogs
+ and other things it's
+ not easy being.
+-------- -----------------------
+
+A horizontal rule follows.
+
+***
+
+Here's a definition list:
+
+apples
+ : Good for making applesauce.
+oranges
+ : Citrus!
+tomatoes
+ : There's no "e" in tomatoe.
+
+Again, text is indented 4 spaces. (Put a blank line between each
+term/definition pair to spread things out more.)
+
+Here's a "line block":
+
+| Line one
+| Line too
+| Line tree
+
+and images can be specified like so:
+
+![example image](example-image.jpg "An exemplary image")
+
+Inline math equations go in like so: $\omega = d\phi / dt$. Display
+math should get its own line and be put in in double-dollarsigns:
+
+$$I = \int \rho R^{2} dV$$
+
+And note that you can backslash-escape any punctuation characters
+which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc.
+
+#### Images auto center:
+
+![Party](http://emojis.slackmojis.com/emojis/images/1475875185/1223/party-dinosaur.gif?1475875185)
diff --git a/themes/hugo-classic/exampleSite/static/css/theme-override.css b/themes/hugo-classic/exampleSite/static/css/theme-override.css
new file mode 100644
index 0000000..c761e7f
--- /dev/null
+++ b/themes/hugo-classic/exampleSite/static/css/theme-override.css
@@ -0,0 +1 @@
+footer { font-size: 90%; font-family: monospace; }
diff --git a/themes/hugo-classic/images/partywizard.gif b/themes/hugo-classic/images/partywizard.gif
new file mode 100644
index 0000000..1c1d813
--- /dev/null
+++ b/themes/hugo-classic/images/partywizard.gif
Binary files differ
diff --git a/themes/hugo-classic/images/screenshot.png b/themes/hugo-classic/images/screenshot.png
new file mode 100644
index 0000000..56f82ac
--- /dev/null
+++ b/themes/hugo-classic/images/screenshot.png
Binary files differ
diff --git a/themes/hugo-classic/images/tn.png b/themes/hugo-classic/images/tn.png
new file mode 100644
index 0000000..f58c780
--- /dev/null
+++ b/themes/hugo-classic/images/tn.png
Binary files differ
diff --git a/themes/hugo-classic/layouts/404.html b/themes/hugo-classic/layouts/404.html
new file mode 100644
index 0000000..c2e4e40
--- /dev/null
+++ b/themes/hugo-classic/layouts/404.html
@@ -0,0 +1,5 @@
+{{ partial "header.html" . }}
+
+404 NOT FOUND
+
+{{ partial "footer.html" . }}
diff --git a/themes/hugo-classic/layouts/_default/list.html b/themes/hugo-classic/layouts/_default/list.html
new file mode 100644
index 0000000..41d9d89
--- /dev/null
+++ b/themes/hugo-classic/layouts/_default/list.html
@@ -0,0 +1,18 @@
+{{ partial "header.html" . }}
+
+{{if not .IsHome }}
+<h1>{{ .Title }}</h1>
+{{ end }}
+
+{{ .Content }}
+
+<ul>
+ {{ range (where .Data.Pages "Section" "!=" "") }}
+ <li>
+ <span class="date">{{ .Date.Format "2006/01/02" }}</span>
+ <a href="{{ .URL }}">{{ .Title }}</a>
+ </li>
+ {{ end }}
+</ul>
+
+{{ partial "footer.html" . }}
diff --git a/themes/hugo-classic/layouts/_default/single.html b/themes/hugo-classic/layouts/_default/single.html
new file mode 100644
index 0000000..b3b5570
--- /dev/null
+++ b/themes/hugo-classic/layouts/_default/single.html
@@ -0,0 +1,23 @@
+{{ partial "header.html" . }}
+<div class="article-meta">
+<h1><span class="title">{{ .Title }}</span></h1>
+{{ with .Params.author }}<h2 class="author">{{ . }}</h2>{{ end }}
+{{ if .Params.date }}<h2 class="date">{{ .Date.Format "2006/01/02" }}</h2>{{ end }}
+<p class="terms">
+ {{ range $i := (slice "categories" "tags") }}
+ {{ with ($.Param $i) }}
+ {{ $i | title }}: {{ range $k := . }}<a href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }}
+ {{ end }}
+ {{ end }}
+</p>
+</div>
+
+{{ if .Params.toc }}
+{{ .TableOfContents }}
+{{ end }}
+
+<main>
+{{ .Content }}
+</main>
+
+{{ partial "footer.html" . }}
diff --git a/themes/hugo-classic/layouts/_default/terms.html b/themes/hugo-classic/layouts/_default/terms.html
new file mode 100644
index 0000000..4f6f544
--- /dev/null
+++ b/themes/hugo-classic/layouts/_default/terms.html
@@ -0,0 +1,16 @@
+{{ partial "header.html" . }}
+
+<h1>{{ .Title }}</h1>
+
+<ul class="terms">
+ {{ range $key, $value := .Data.Terms }}
+ <li>
+ <a href="{{ (print "/" $.Data.Plural "/" (lower $key)) | relURL }}">
+ {{ $key }}
+ </a>
+ ({{ len $value }})
+ </li>
+ {{ end }}
+</ul>
+
+{{ partial "footer.html" . }}
diff --git a/themes/hugo-classic/layouts/partials/foot_custom.html b/themes/hugo-classic/layouts/partials/foot_custom.html
new file mode 100644
index 0000000..3d9fb1d
--- /dev/null
+++ b/themes/hugo-classic/layouts/partials/foot_custom.html
@@ -0,0 +1,25 @@
+<!-- Automagically centers images. Original Author Yihui Xie: https://yihui.name -->
+<script>
+(function() {
+ function center_el(tagName) {
+ var tags = document.getElementsByTagName(tagName), i, tag;
+ for (i = 0; i < tags.length; i++) {
+ tag = tags[i];
+ var parent = tag.parentElement;
+ // center an image if it is the only element of its parent
+ if (parent.childNodes.length === 1) {
+ // if there is a link on image, check grandparent
+ if (parent.nodeName === 'A') {
+ parent = parent.parentElement;
+ if (parent.childNodes.length != 1) continue;
+ }
+ if (parent.nodeName === 'P') parent.style.textAlign = 'center';
+ }
+ }
+ }
+ var tagNames = ['img', 'embed', 'object'];
+ for (var i = 0; i < tagNames.length; i++) {
+ center_el(tagNames[i]);
+ }
+})();
+</script>
diff --git a/themes/hugo-classic/layouts/partials/footer.html b/themes/hugo-classic/layouts/partials/footer.html
new file mode 100644
index 0000000..932d541
--- /dev/null
+++ b/themes/hugo-classic/layouts/partials/footer.html
@@ -0,0 +1,13 @@
+ <footer>
+ {{ partial "foot_custom.html" . }}
+ {{ with .Site.Params.footer }}
+ <hr/>
+ {{ . | markdownify }}
+ {{ end }}
+ <div id="license-info">
+ &#169;2018 by Sebastian Götte. This work is licensed under
+ <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA 4.0</a>.
+ </div>
+ </footer>
+ </body>
+</html>
diff --git a/themes/hugo-classic/layouts/partials/head_custom.html b/themes/hugo-classic/layouts/partials/head_custom.html
new file mode 100644
index 0000000..6520ca0
--- /dev/null
+++ b/themes/hugo-classic/layouts/partials/head_custom.html
@@ -0,0 +1,33 @@
+<header>
+
+ <!--
+ Syntax highlighting - defaults to atom light theme.
+ List here: https://github.com/isagalaev/highlight.js/tree/master/src/styles
+ -->
+ <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atom-one-light.min.css">
+ <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
+ <script>hljs.initHighlightingOnLoad();</script>
+ <nav>
+ <ul>
+ {{ $title := lower .Title }}
+ {{ $section := lower .Section }}
+ <li class="pull-left {{ if .IsHome }}current{{ end }}">
+ <a href="{{ .Site.BaseURL }}">/home/{{ lower .Site.Title}}</a>
+ </li>
+ {{ range .Site.Menus.main }}
+ {{ $name := lower .Name }}
+ <li class="pull-left {{ if eq $name $title }}current{{ else if eq $section $name }}current{{ else if eq $title (pluralize $name) }}current{{ end }}">
+ <a href="{{ .URL }}">~/{{ lower .Name }}</a>
+ </li>
+ {{end}}
+
+ {{ range .Site.Menus.feed }}
+ {{ $name := lower .Name}}
+ <li class="pull-right">
+ <a href="{{ .URL }}">~/{{ lower .Name}}</a>
+ </li>
+ {{end}}
+
+ </ul>
+ </nav>
+</header>
diff --git a/themes/hugo-classic/layouts/partials/header.html b/themes/hugo-classic/layouts/partials/header.html
new file mode 100644
index 0000000..6ef9a69
--- /dev/null
+++ b/themes/hugo-classic/layouts/partials/header.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="{{ .Site.LanguageCode }}">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>{{ .Title }} | {{ .Site.Title }}</title>
+ <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}" />
+ <link rel="stylesheet" href="{{ "/css/fonts.css" | relURL }}" />
+ {{ range .Site.Params.custom_css -}}
+ <link rel="stylesheet" href="{{ . | absURL }}">
+ {{- end }}
+ {{ partial "head_custom.html" . }}
+ </head>
+
+ <body>
+ <br/>
diff --git a/themes/hugo-classic/static/css/fonts.css b/themes/hugo-classic/static/css/fonts.css
new file mode 100644
index 0000000..c851143
--- /dev/null
+++ b/themes/hugo-classic/static/css/fonts.css
@@ -0,0 +1,7 @@
+body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Avenir Next', Avenir, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
+}
+code {
+ font-family: "Lucida Console", Monaco, monospace;
+ font-size: 85%;
+}
diff --git a/themes/hugo-classic/static/css/style.css b/themes/hugo-classic/static/css/style.css
new file mode 100644
index 0000000..f82647f
--- /dev/null
+++ b/themes/hugo-classic/static/css/style.css
@@ -0,0 +1,241 @@
+/* @import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,700|Source+Serif+Pro'); */
+/* @import url('https://fonts.googleapis.com/css?family=Fredoka+One|Source+Serif+Pro'); */
+@import url('https://fonts.googleapis.com/css?family=Baloo|Source+Serif+Pro');
+@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono');
+
+body {
+ max-width: 800px;
+ margin: auto;
+ padding: .2em;
+ line-height: 20pt;
+ font-size: 12pt;
+}
+
+/* Table of Contents, if wanted
+
+Add to yaml:
+
+output:
+blogdown::html_page:
+toc: true
+
+ */
+
+#TableOfContents, #TOC {
+ border: 1px solid #eee;
+}
+
+/* Header and Footer */
+.menu li { display: inline-block; }
+.article-meta, .menu a {
+ text-decoration: none;
+ background: #ff99cc;
+ color: #FFF;
+ padding: 5px;
+ text-shadow: 0px 1px 1px #fe3ea0;
+}
+
+
+.article-meta h1, .article-meta h2 {
+ margin-top: 1em;
+ color: white;
+}
+
+
+.terms { font-size: .9em; }
+.menu, .article-meta, footer { text-align: center; }
+.title { font-size: 1.1em; }
+footer a { text-decoration: none; }
+
+.pull-left {
+ float: left
+}
+.pull-right {
+ float: right
+}
+
+a {
+ color: #ff6bb6;
+ text-decoration: none;
+}
+
+a:hover {
+ background: #83cbe3;
+ color: white;
+}
+
+/* Adjust background at your leisure! */
+header {
+ position: relative;
+ width: 100%;
+ height: 1.75rem;
+ font-size: .875rem;
+ background: #83cbe3;
+ font-family: 'Baloo', sans-serif;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ margin-top: 2em;
+ font-family: 'Baloo', sans-serif;
+ /* color: #ff99cc; */
+ color: #ff6bb6;
+}
+
+li {
+ padding-bottom: 1em;
+}
+
+header ul,
+header ol {
+ margin: 0;
+ padding: 0;
+ list-style: none
+}
+header nav {
+ padding: 0 0.5rem
+}
+
+header a {
+ color: #fff;
+ line-height: 1.75rem;
+ padding: 0 0.5rem
+}
+header a:hover,
+header .current a {
+ color: #fff
+}
+
+/* Code Boxes */
+pre {
+ border: 1px solid #ddd;
+ box-shadow: 5px 5px 5px #eee;
+ background: #f8f8f8;
+ padding: 1em;
+ overflow-x: auto;
+}
+code { background: #f9f9f9; }
+pre code { background: none; }
+
+/* Images, tables, misc. */
+img, iframe, video { max-width: 100%; }
+main {
+ text-align: justify;
+ word-wrap: break-word;
+ font-family: "Source Serif Pro", "Times New Roman", serif;
+ color: #555;
+ hyphens: auto;
+}
+
+/* Caution! duplicate this rule below. */
+::selection {
+ background: #83cbe3;
+ color: white;
+}
+
+::-moz-selection {
+ background: #83cbe3;
+ color: white;
+}
+
+/* Caution! duplicate this rule below. */
+figcaption::selection {
+ background: #ff99cc;
+ color: white;
+}
+
+figcaption::-moz-selection {
+ background: #ff99cc;
+ color: white;
+}
+
+/* Caution! duplicate this rule below. */
+a::-moz-selection {
+ background: #ff99cc;
+ color: white;
+}
+
+a::selection {
+ background: #ff99cc;
+ color: white;
+}
+
+blockquote {
+ background: #f9f9f9;
+ border-left: 5px solid #ccc;
+ padding: 3px 1em 3px;
+}
+
+table {
+ margin: auto;
+ border-top: 1px solid #666;
+ border-bottom: 1px solid #666;
+}
+table thead th { border-bottom: 1px solid #ddd; }
+th, td { padding: 5px; }
+tr:nth-child(even) { background: #eee }
+
+/* Inline code markup */
+tt.literal {
+ font-family: 'Ubuntu Mono', monospace;
+ background: #e2f3f8;
+ color: #164d60;
+ font-weight: bold;
+ font-size: 10pt;
+ padding: 2px;
+ border-radius: 0.3em;
+}
+
+figure.side-by-side {
+ width: 49%;
+ min-width: 15em;
+ display: inline-block;
+ margin: 0 0 0 0;
+ padding: 0 40px 0 0;
+ vertical-align: top;
+ box-sizing: border-box;
+}
+
+figure figure.side-by-side:nth-of-type(2) {
+ padding: 0;
+}
+
+figure img, figure video {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ width: 100%;
+}
+
+figcaption a {
+ background: white;
+ color: #83cbe3;
+}
+
+figcaption a:hover {
+ background: #ff6bb6;
+}
+
+figcaption {
+ display: block;
+ line-height: 16pt;
+ background: #83cbe3;
+ color: white;
+ font-family: 'Baloo', sans-serif;
+ padding: 1em;
+ border-radius: 0 0 0.5em 0.5em;
+}
+
+figure {
+ margin-top: 3em;
+ margin-bottom: 3em;
+}
+
+#license-info img {
+ vertical-align: middle;
+}
+
+#license-info {
+ color: #aaa;
+ font-size: 10pt;
+ font-family: "Source Serif Pro", "Times New Roman", serif;
+}
diff --git a/themes/hugo-classic/theme.toml b/themes/hugo-classic/theme.toml
new file mode 100644
index 0000000..9ca39f4
--- /dev/null
+++ b/themes/hugo-classic/theme.toml
@@ -0,0 +1,17 @@
+name = "Hugo - Classic"
+license = "MIT"
+licenselink = "https://github.com/goodroot/hugo-classic/blob/master/LICENSE.md"
+description = "A minimal blog theme, for those who love text. Based off the eXtremely minimal theme by Yihui Xui."
+homepage = "https://goodroot.ca"
+tags = ["minimal", "blog", "personal", "simple", "clean", "starter", "minimalist"]
+features = ["blog"]
+min_version = "0.18"
+
+[author]
+ name = "Kellen Evan Person"
+ homepage = "https://goodroot.ca"
+
+[original]
+ author = "Yihui Xui"
+ homepage = "https://xmin.yihui.name/"
+ repo = "https://github.com/yihui/hugo-xmin"