From 3245f1f1404785d92c21eb381c08dee5a4be6bb7 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Tue, 4 Sep 2018 09:08:41 +0300 Subject: Moved site to website folder --- website/themes/natrium/.editorconfig | 17 + website/themes/natrium/LICENSE.md | 22 + website/themes/natrium/README.md | 65 +++ website/themes/natrium/archetypes/default.md | 5 + website/themes/natrium/exampleSite/config.toml | 41 ++ .../natrium/exampleSite/content/page/about.md | 6 + .../exampleSite/content/page/site-notice.md | 15 + .../content/post/extending-this-logic.md | 11 + .../content/post/the-actor-is-a-gander.md | 13 + .../content/post/the-beach-is-a-push.md | 15 + website/themes/natrium/exampleSite/static/.gitkeep | 0 website/themes/natrium/i18n/de.toml | 14 + website/themes/natrium/i18n/en.toml | 14 + website/themes/natrium/i18n/zh.toml | 14 + website/themes/natrium/images/screenshot.png | Bin 0 -> 234858 bytes website/themes/natrium/images/tn.png | Bin 0 -> 88601 bytes website/themes/natrium/layouts/404.html | 17 + website/themes/natrium/layouts/_default/list.html | 1 + .../themes/natrium/layouts/_default/single.html | 31 ++ website/themes/natrium/layouts/index.html | 20 + .../themes/natrium/layouts/partials/footer.html | 13 + website/themes/natrium/layouts/partials/head.html | 31 ++ .../themes/natrium/layouts/partials/header.html | 10 + .../themes/natrium/layouts/partials/list-item.html | 6 + website/themes/natrium/layouts/partials/nav.html | 14 + .../natrium/layouts/partials/pagination.html | 34 ++ website/themes/natrium/layouts/rss.xml | 28 ++ .../themes/natrium/layouts/taxonomy/category.html | 18 + .../natrium/layouts/taxonomy/category.terms.html | 22 + website/themes/natrium/layouts/taxonomy/tag.html | 18 + .../themes/natrium/layouts/taxonomy/tag.terms.html | 31 ++ website/themes/natrium/static/css/fonts.css | 89 ++++ website/themes/natrium/static/css/main.css | 536 +++++++++++++++++++++ .../natrium/static/fonts/fontawesome-webfont.woff | Bin 0 -> 98024 bytes .../natrium/static/fonts/fontawesome-webfont.woff2 | Bin 0 -> 77160 bytes .../natrium/static/fonts/lato-v14-latin-700.woff | Bin 0 -> 27848 bytes .../natrium/static/fonts/lato-v14-latin-700.woff2 | Bin 0 -> 22820 bytes .../static/fonts/lato-v14-latin-700italic.woff | Bin 0 -> 29692 bytes .../static/fonts/lato-v14-latin-700italic.woff2 | Bin 0 -> 24240 bytes .../static/fonts/lato-v14-latin-italic.woff | Bin 0 -> 29600 bytes .../static/fonts/lato-v14-latin-italic.woff2 | Bin 0 -> 24192 bytes .../static/fonts/lato-v14-latin-regular.woff | Bin 0 -> 28412 bytes .../static/fonts/lato-v14-latin-regular.woff2 | Bin 0 -> 23316 bytes .../static/fonts/merriweather-v19-latin-700.woff | Bin 0 -> 22696 bytes .../static/fonts/merriweather-v19-latin-700.woff2 | Bin 0 -> 18484 bytes .../fonts/merriweather-v19-latin-700italic.woff | Bin 0 -> 23024 bytes .../fonts/merriweather-v19-latin-700italic.woff2 | Bin 0 -> 18856 bytes .../fonts/merriweather-v19-latin-italic.woff | Bin 0 -> 22884 bytes .../fonts/merriweather-v19-latin-italic.woff2 | Bin 0 -> 18740 bytes .../fonts/merriweather-v19-latin-regular.woff | Bin 0 -> 23036 bytes .../fonts/merriweather-v19-latin-regular.woff2 | Bin 0 -> 18816 bytes .../static/fonts/roboto-mono-v5-latin-regular.woff | Bin 0 -> 19576 bytes .../fonts/roboto-mono-v5-latin-regular.woff2 | Bin 0 -> 16028 bytes website/themes/natrium/static/images/logo.png | Bin 0 -> 15155 bytes website/themes/natrium/theme.toml | 17 + 55 files changed, 1188 insertions(+) create mode 100644 website/themes/natrium/.editorconfig create mode 100644 website/themes/natrium/LICENSE.md create mode 100644 website/themes/natrium/README.md create mode 100644 website/themes/natrium/archetypes/default.md create mode 100644 website/themes/natrium/exampleSite/config.toml create mode 100644 website/themes/natrium/exampleSite/content/page/about.md create mode 100644 website/themes/natrium/exampleSite/content/page/site-notice.md create mode 100644 website/themes/natrium/exampleSite/content/post/extending-this-logic.md create mode 100644 website/themes/natrium/exampleSite/content/post/the-actor-is-a-gander.md create mode 100644 website/themes/natrium/exampleSite/content/post/the-beach-is-a-push.md create mode 100644 website/themes/natrium/exampleSite/static/.gitkeep create mode 100644 website/themes/natrium/i18n/de.toml create mode 100644 website/themes/natrium/i18n/en.toml create mode 100644 website/themes/natrium/i18n/zh.toml create mode 100644 website/themes/natrium/images/screenshot.png create mode 100644 website/themes/natrium/images/tn.png create mode 100644 website/themes/natrium/layouts/404.html create mode 100644 website/themes/natrium/layouts/_default/list.html create mode 100644 website/themes/natrium/layouts/_default/single.html create mode 100644 website/themes/natrium/layouts/index.html create mode 100644 website/themes/natrium/layouts/partials/footer.html create mode 100644 website/themes/natrium/layouts/partials/head.html create mode 100644 website/themes/natrium/layouts/partials/header.html create mode 100644 website/themes/natrium/layouts/partials/list-item.html create mode 100644 website/themes/natrium/layouts/partials/nav.html create mode 100644 website/themes/natrium/layouts/partials/pagination.html create mode 100644 website/themes/natrium/layouts/rss.xml create mode 100644 website/themes/natrium/layouts/taxonomy/category.html create mode 100644 website/themes/natrium/layouts/taxonomy/category.terms.html create mode 100644 website/themes/natrium/layouts/taxonomy/tag.html create mode 100644 website/themes/natrium/layouts/taxonomy/tag.terms.html create mode 100644 website/themes/natrium/static/css/fonts.css create mode 100644 website/themes/natrium/static/css/main.css create mode 100644 website/themes/natrium/static/fonts/fontawesome-webfont.woff create mode 100644 website/themes/natrium/static/fonts/fontawesome-webfont.woff2 create mode 100644 website/themes/natrium/static/fonts/lato-v14-latin-700.woff create mode 100644 website/themes/natrium/static/fonts/lato-v14-latin-700.woff2 create mode 100644 website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff create mode 100644 website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff2 create mode 100644 website/themes/natrium/static/fonts/lato-v14-latin-italic.woff create mode 100644 website/themes/natrium/static/fonts/lato-v14-latin-italic.woff2 create mode 100644 website/themes/natrium/static/fonts/lato-v14-latin-regular.woff create mode 100644 website/themes/natrium/static/fonts/lato-v14-latin-regular.woff2 create mode 100644 website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff create mode 100644 website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff2 create mode 100644 website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff create mode 100644 website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff2 create mode 100644 website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff create mode 100644 website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff2 create mode 100644 website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff create mode 100644 website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff2 create mode 100644 website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff create mode 100644 website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff2 create mode 100644 website/themes/natrium/static/images/logo.png create mode 100644 website/themes/natrium/theme.toml (limited to 'website/themes/natrium') diff --git a/website/themes/natrium/.editorconfig b/website/themes/natrium/.editorconfig new file mode 100644 index 0000000..696c039 --- /dev/null +++ b/website/themes/natrium/.editorconfig @@ -0,0 +1,17 @@ +# editorconfig.org + +root = true + +[*] +charset = utf-8 +indent_size = 2 +indent_style = space +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false + +[*.{yaml,toml}] +indent_size = 4 diff --git a/website/themes/natrium/LICENSE.md b/website/themes/natrium/LICENSE.md new file mode 100644 index 0000000..63d8892 --- /dev/null +++ b/website/themes/natrium/LICENSE.md @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2018 Tim Krieger +Copyright (c) 2016 Jonathan Rutheiser (original theme) + +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/website/themes/natrium/README.md b/website/themes/natrium/README.md new file mode 100644 index 0000000..fbf245e --- /dev/null +++ b/website/themes/natrium/README.md @@ -0,0 +1,65 @@ +# Hugo Natrium + +A simple responsive blog theme for [Hugo](https://gohugo.io/) based on [Lithium](https://github.com/jrutheiser/hugo-lithium-theme.git) + +## Changes + +Natrium includes: taxonomies (categories, tags), static footer, new fonts (Roboto Mono, Font Awesome), local fonts, syntax highlighting, better support for code, img and RSS, pagination, multiple design optimizations, i18n, 404.html... + +## History + +I learned a lot while playing with the code from Lithium. I'm an absolutly beginner. Please report any issue you recognize. + +## Features + +- Blog +- Responsive +- Privacy (no Google) +- Taxonomies +- Syntax highlighting +- Pagination + +## Installation + +Run the following inside your Hugo site folder: + +``` +$ mkdir themes +$ cd themes +$ git clone https://github.com/mobybit/hugo-natrium-theme +``` + +## Configuration + +Take a look at the sample [config.toml](https://github.com/mobybit/hugo-natrium-theme/blob/master/exampleSite/config.toml) +file located in the [exampleSite](https://github.com/mobybit/hugo-natrium-theme/blob/master/exampleSite) folder. + +## Content Types + +### Post + +Used for blog posts. Blog posts are listed on the homepage. + +Run `hugo new post/.md` to create a post. + +### Page + +Used for site pages. + +Run `hugo new page/.md` to create a page. + +## Syntax highlighting + +Natrium is using [Chroma](https://gohugo.io/content-management/syntax-highlighting/) and `pygmentsStyle = "native"` by default. If you would like to use another style you have to adjust the colors in `pre` in main.css. + +## License + +The code is available under the [MIT License](https://github.com/mobybit/hugo-natrium-theme/blob/master/LICENSE.md). + +Natrium is using [Font Awesome](http://fontawesome.io) by Dave Gandy ([SIL OFL 1.1](http://scripts.sil.org/OFL)). Realated files (CSS, LESS, SCSS) are licensed under the [MIT License](http://opensource.org/licenses/mit-license.html). + +Other used fonts are [Merriweather](https://github.com/EbenSorkin/Merriweather) by Sorkin Type (Copyright © 2016 The Merriweather Project, [SIL OFL 1.1](http://scripts.sil.org/OFL)), [Lato](http://www.latofonts.com/) by Łukasz Dziedzic (Copyright © 2010-2014 by tyPoland Lukasz Dziedzic, [SIL OFL 1.1](http://scripts.sil.org/OFL)) and [Roboto Mono](https://github.com/google/roboto/) by Christian Robertson (Copyright © 2015 Google Inc., [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)). + +Special thanks to [Artem Sidorenko](https://www.sidorenko.io/post/2017/07/nice-tagcloud-with-hugo/) (tag cloud). + +The content of the example site is generated with [Metamorphosum](http://metaphorpsum.com/) (Copyright © 2014 Kyle Stetz, [MIT License](https://github.com/kylestetz/metaphorpsum/blob/master/LICENSE.md)). diff --git a/website/themes/natrium/archetypes/default.md b/website/themes/natrium/archetypes/default.md new file mode 100644 index 0000000..45676d7 --- /dev/null +++ b/website/themes/natrium/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = "{{ replace .TranslationBaseName "-" " " | title }}" +date = "{{ dateFormat "2006-01-02" .Date }}" +draft = true ++++ diff --git a/website/themes/natrium/exampleSite/config.toml b/website/themes/natrium/exampleSite/config.toml new file mode 100644 index 0000000..cf85b0c --- /dev/null +++ b/website/themes/natrium/exampleSite/config.toml @@ -0,0 +1,41 @@ +baseurl = "https://example.org/" +languageCode = "en-us" +title = "Natrium Theme" +theme = "hugo-natrium-theme" +preserveTaxonomyNames = true +rssLimit = 10 +paginate = 10 +pygmentsCodefences = true +pygmentsStyle = "native" + +[taxonomies] + category = "categories" + tag = "tags" + +[permalinks] + post = "/:slug/" + page = "/:slug/" + +[[menu.main]] + name = "About" + url = "/about/" + weight = -110 + +[[menu.main]] + name = "Tags" + url = "/tags" + weight = -120 + +[[menu.main]] + name = "Categories" + url = "/categories" + weight = -130 + +[params] + description = "" + + [params.logo] + url = "logo.png" + width = 50 + height = 50 + alt = "Logo" diff --git a/website/themes/natrium/exampleSite/content/page/about.md b/website/themes/natrium/exampleSite/content/page/about.md new file mode 100644 index 0000000..2d24b3e --- /dev/null +++ b/website/themes/natrium/exampleSite/content/page/about.md @@ -0,0 +1,6 @@ ++++ +title = "About" +date = "2018-02-09" ++++ + +We know that an improvement is a themeless diploma. Those coughs are nothing more than distributors. Postiche authorizations show us how poisons can be organisations. The thumb of a tsunami becomes a widest downtown. diff --git a/website/themes/natrium/exampleSite/content/page/site-notice.md b/website/themes/natrium/exampleSite/content/page/site-notice.md new file mode 100644 index 0000000..37a0093 --- /dev/null +++ b/website/themes/natrium/exampleSite/content/page/site-notice.md @@ -0,0 +1,15 @@ ++++ +date = "2018-02-09" +title = "Site notice" +slug = "site-notice" ++++ + + +### Walruses +Those drizzles are nothing more than mothers. Dewlapped laborers show us how flowers can be entrances. Nowhere is it disputed that the candle is a banker. The walruses could be said to resemble malar floors. + +### Radio +Those facts are nothing more than velvets. Lambdoid dimes show us how anthonies can be trombones. An intense bookcase is a bookcase of the mind. The literature would have us believe that a bastioned copy is not but a radio. + +### Windshields +A cork is a land from the right perspective. The first unpierced war is, in its own way, a field. Recent controversy aside, a creek is a burn's industry. Applied windshields show us how ideas can be segments. diff --git a/website/themes/natrium/exampleSite/content/post/extending-this-logic.md b/website/themes/natrium/exampleSite/content/post/extending-this-logic.md new file mode 100644 index 0000000..26915d3 --- /dev/null +++ b/website/themes/natrium/exampleSite/content/post/extending-this-logic.md @@ -0,0 +1,11 @@ ++++ +date = "2018-02-09" +title = "Extending this logic" +slug = "extending-this-logic" +categories = [ "Post", "Metaphorsum" ] +tags = [ "Lamb", "Shell", "Bookcase", "Nothing" ] ++++ + +The quiets could be said to resemble terete lambs. Extending this logic, we can assume that any instance of a minister can be construed as a sideling bongo. Their leaf was, in this moment, a coccoid [noodle](https://en.wikipedia.org/wiki/Noodle). In modern times a noise is a barge's calendar. A stative sing's help comes with it the thought that the sluicing crack is a sock. It's an undeniable fact, really; a feast sees a half-sister as a chewy grade. + +A condition is a shell's pressure. A dress sees a weapon as a plodding april. The date of a notebook becomes an outbound walk. Few can name a grateful fog that isn't a compleat double. A chick of the field is assumed to be an imbued bookcase. Those litters are nothing more than [yards](https://en.wikipedia.org/wiki/Yard). diff --git a/website/themes/natrium/exampleSite/content/post/the-actor-is-a-gander.md b/website/themes/natrium/exampleSite/content/post/the-actor-is-a-gander.md new file mode 100644 index 0000000..47bb8b7 --- /dev/null +++ b/website/themes/natrium/exampleSite/content/post/the-actor-is-a-gander.md @@ -0,0 +1,13 @@ ++++ +date = "2018-02-09" +title = "The actor is a gander" +slug = "the-actor-is-a-gander" +categories = [ "Post", "Metaphorsum" ] +tags = [ "Actor", "Visitor", "Snowflakes", "Interest" ] ++++ + +However, a frostless stop is a stream of the mind. The actor is a gander. A garni person without [gorillas](https://en.wikipedia.org/wiki/Gorilla) is truly a vest of scentless plots. + +Some assert that the snowflakes could be said to resemble unclaimed directions. The sponge is a boat. Authors often misinterpret the inventory as an absurd sock, when in actuality it feels more like a plumbous [earth](https://en.wikipedia.org/wiki/Soil). + +The first enarched tune is, in its own way, a visitor. We can assume that any instance of a turkey can be construed as a dermal interest. Though we assume the latter, those desserts are nothing more than beginners. diff --git a/website/themes/natrium/exampleSite/content/post/the-beach-is-a-push.md b/website/themes/natrium/exampleSite/content/post/the-beach-is-a-push.md new file mode 100644 index 0000000..b285032 --- /dev/null +++ b/website/themes/natrium/exampleSite/content/post/the-beach-is-a-push.md @@ -0,0 +1,15 @@ ++++ +date = "2018-02-09" +title = "The beach is a push" +slug = "the-beach-is-a-push" +categories = [ "Post", "Metaphorsum" ] +tags = [ "Riddles", "Beach", "Fahrenheit", "Nothing", "Interest" ] ++++ + +Gainly stops show us how mother-in-laws can be drizzles. Some assert that the `fahrenheit` is a mascara. The crosswise idea reveals itself as a baddish ink to those who look. A grasping interest without kitties is truly a crocus of hopeful nets. The `developments` could be said to resemble farfetched triangles. A mind of the fender is assumed to be a cornute radiator. + +``` +In ancient times a whapping napkin's alcohol comes with it the thought that the weldless industry is a quill. A kilogram is a hardware's support. Few can name a hatted trouble that isn't a rotted fowl. Those trapezoids are nothing more than vacations. The beach is a push. A carsick giraffe is an inch of the mind. +``` + +Monthly riddles show us how shrimp can be nephews. In recent years, few can name a styloid dryer that isn't a toyless shoe. Their corn was, in this moment, a whoreson opera. Few can name a schmalzy cheetah that isn't a dashing barber. The chiffon alcohol comes from a million hen. What we don't know for sure is whether or not those trips are nothing more than barges. diff --git a/website/themes/natrium/exampleSite/static/.gitkeep b/website/themes/natrium/exampleSite/static/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/website/themes/natrium/i18n/de.toml b/website/themes/natrium/i18n/de.toml new file mode 100644 index 0000000..4fffca2 --- /dev/null +++ b/website/themes/natrium/i18n/de.toml @@ -0,0 +1,14 @@ +[footerRSS] +other = "RSS-Feed" + +[siteNotice] +other = "Seitenhinweise" + +[categories] +other = "Kategorien" + +[tags] +other = "Tags" + +[errorMessage] +other = "Hier ist nichts." diff --git a/website/themes/natrium/i18n/en.toml b/website/themes/natrium/i18n/en.toml new file mode 100644 index 0000000..d9b5ec1 --- /dev/null +++ b/website/themes/natrium/i18n/en.toml @@ -0,0 +1,14 @@ +[footerRSS] +other = "RSS feed" + +[siteNotice] +other = "Site notice" + +[categories] +other = "Categories" + +[tags] +other = "Tags" + +[errorMessage] +other = "Here is nothing." diff --git a/website/themes/natrium/i18n/zh.toml b/website/themes/natrium/i18n/zh.toml new file mode 100644 index 0000000..fac8c96 --- /dev/null +++ b/website/themes/natrium/i18n/zh.toml @@ -0,0 +1,14 @@ +[footerRSS] +other = "RSS订阅" + +[siteNotice] +other = "本站公告" + +[categories] +other = "分类" + +[tags] +other = "标签" + +[errorMessage] +other = "页面不存在." diff --git a/website/themes/natrium/images/screenshot.png b/website/themes/natrium/images/screenshot.png new file mode 100644 index 0000000..685991d Binary files /dev/null and b/website/themes/natrium/images/screenshot.png differ diff --git a/website/themes/natrium/images/tn.png b/website/themes/natrium/images/tn.png new file mode 100644 index 0000000..5a5990a Binary files /dev/null and b/website/themes/natrium/images/tn.png differ diff --git a/website/themes/natrium/layouts/404.html b/website/themes/natrium/layouts/404.html new file mode 100644 index 0000000..28489eb --- /dev/null +++ b/website/themes/natrium/layouts/404.html @@ -0,0 +1,17 @@ +{{ partial "header" . }} + +
+
+

404

+
+
+ {{ i18n "errorMessage" }} +
+ +
+
+
+ +{{ partial "footer" . }} + + diff --git a/website/themes/natrium/layouts/_default/list.html b/website/themes/natrium/layouts/_default/list.html new file mode 100644 index 0000000..9353e44 --- /dev/null +++ b/website/themes/natrium/layouts/_default/list.html @@ -0,0 +1 @@ +/* Natrium doesn't support list.html. */ diff --git a/website/themes/natrium/layouts/_default/single.html b/website/themes/natrium/layouts/_default/single.html new file mode 100644 index 0000000..240109d --- /dev/null +++ b/website/themes/natrium/layouts/_default/single.html @@ -0,0 +1,31 @@ +{{ partial "header.html" . }} + +
+
+

{{ .Title }}

+ {{ if eq .Section "post" }} + + {{ end }} + +
+ {{ .Content }} +
+ +
    + {{ if .Params.categories }} +
    +
  • + {{ range $index, $category := .Params.categories }}{{ if gt $index 0 }}{{ end }}{{ . }}{{ end }} +
  • + {{ end }} + + {{ if .Params.tags }} +
  • + {{ range $index, $tag := .Params.tags }}{{ if gt $index 0 }}{{ end }}{{ . }}{{ end }} +
  • + {{ end }} +
+ +
+ +{{ partial "footer.html" . }} diff --git a/website/themes/natrium/layouts/index.html b/website/themes/natrium/layouts/index.html new file mode 100644 index 0000000..d71b3fa --- /dev/null +++ b/website/themes/natrium/layouts/index.html @@ -0,0 +1,20 @@ +{{ partial "header.html" . }} + +
+ +
+ {{ range (.Paginate ((where .Data.Pages "Type" "post").GroupByDate "2006")).PageGroups }} +

{{ .Key }}

+ {{ range .Pages }} + + {{ partial "list-item.html" . }} + + {{ end }} + {{ end }} +
+ + {{ partial "pagination.html" . }} + +
+ +{{ partial "footer.html" . }} diff --git a/website/themes/natrium/layouts/partials/footer.html b/website/themes/natrium/layouts/partials/footer.html new file mode 100644 index 0000000..0230966 --- /dev/null +++ b/website/themes/natrium/layouts/partials/footer.html @@ -0,0 +1,13 @@ + + + + diff --git a/website/themes/natrium/layouts/partials/head.html b/website/themes/natrium/layouts/partials/head.html new file mode 100644 index 0000000..b17415e --- /dev/null +++ b/website/themes/natrium/layouts/partials/head.html @@ -0,0 +1,31 @@ + + +{{ .Hugo.Generator }} + +{{ if eq .URL "/" }} +{{ .Title }} + + +{{ else }} +{{ .Title }} - {{ .Site.Title }} + +{{ end }} + +{{ if eq .URL "/" }} + +{{ else }} + {{ if .Description }} + + {{ end }} +{{ end }} + +{{ if .Keywords }} + +{{ end }} + +{{ if .RSSLink }} + +{{ end }} + + + diff --git a/website/themes/natrium/layouts/partials/header.html b/website/themes/natrium/layouts/partials/header.html new file mode 100644 index 0000000..6a3b55c --- /dev/null +++ b/website/themes/natrium/layouts/partials/header.html @@ -0,0 +1,10 @@ + + + + {{ partial "head.html" . }} + + +
+
+ {{ partial "nav.html" . }} +
diff --git a/website/themes/natrium/layouts/partials/list-item.html b/website/themes/natrium/layouts/partials/list-item.html new file mode 100644 index 0000000..245a80d --- /dev/null +++ b/website/themes/natrium/layouts/partials/list-item.html @@ -0,0 +1,6 @@ + diff --git a/website/themes/natrium/layouts/partials/nav.html b/website/themes/natrium/layouts/partials/nav.html new file mode 100644 index 0000000..607878c --- /dev/null +++ b/website/themes/natrium/layouts/partials/nav.html @@ -0,0 +1,14 @@ + diff --git a/website/themes/natrium/layouts/partials/pagination.html b/website/themes/natrium/layouts/partials/pagination.html new file mode 100644 index 0000000..d818c18 --- /dev/null +++ b/website/themes/natrium/layouts/partials/pagination.html @@ -0,0 +1,34 @@ +{{ $pag := $.Paginator }} +{{ if gt $pag.TotalPages 1 }} + + +{{ end }} diff --git a/website/themes/natrium/layouts/rss.xml b/website/themes/natrium/layouts/rss.xml new file mode 100644 index 0000000..4008f49 --- /dev/null +++ b/website/themes/natrium/layouts/rss.xml @@ -0,0 +1,28 @@ + + + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + {{ .Permalink }} + Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} + Hugo -- gohugo.io{{ with .Site.LanguageCode }} + {{.}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} + {{.}}{{end}}{{ if not .Date.IsZero }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{ with .OutputFormats.Get "RSS" }} + {{ printf "" .Permalink .MediaType | safeHTML }} + {{ end }} + {{ range .Data.Pages }} + {{ if eq .Section "post" }} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ .Permalink }} + {{ .Summary | html }} + + {{ end }} + {{ end }} + + diff --git a/website/themes/natrium/layouts/taxonomy/category.html b/website/themes/natrium/layouts/taxonomy/category.html new file mode 100644 index 0000000..d20298a --- /dev/null +++ b/website/themes/natrium/layouts/taxonomy/category.html @@ -0,0 +1,18 @@ +{{ partial "header.html" . }} + +
+ +
+

{{ .Title }}

+ {{ range .Paginator.Pages }} + + {{ partial "list-item.html" . }} + + {{ end }} +
+ + {{ partial "pagination.html" . }} + +
+ +{{ partial "footer.html" . }} diff --git a/website/themes/natrium/layouts/taxonomy/category.terms.html b/website/themes/natrium/layouts/taxonomy/category.terms.html new file mode 100644 index 0000000..d5ba7bc --- /dev/null +++ b/website/themes/natrium/layouts/taxonomy/category.terms.html @@ -0,0 +1,22 @@ +{{ partial "header.html" . }} + +
+ +
+

{{ i18n "categories" }}

+ {{ $data := .Data }} + {{ range $key, $value := .Data.Terms.Alphabetical }} + + {{ end }} +
+ +
+ +{{ partial "footer.html" . }} diff --git a/website/themes/natrium/layouts/taxonomy/tag.html b/website/themes/natrium/layouts/taxonomy/tag.html new file mode 100644 index 0000000..08eb524 --- /dev/null +++ b/website/themes/natrium/layouts/taxonomy/tag.html @@ -0,0 +1,18 @@ +{{ partial "header.html" . }} + +
+ +
+

{{ .Title }}

+ {{ range .Paginator.Pages }} + + {{ partial "list-item.html" . }} + + {{ end }} +
+ + {{ partial "pagination.html" . }} + +
+ +{{ partial "footer.html" . }} diff --git a/website/themes/natrium/layouts/taxonomy/tag.terms.html b/website/themes/natrium/layouts/taxonomy/tag.terms.html new file mode 100644 index 0000000..77a68c7 --- /dev/null +++ b/website/themes/natrium/layouts/taxonomy/tag.terms.html @@ -0,0 +1,31 @@ +{{ partial "header.html" . }} + +
+ +
+

{{ i18n "tags" }}

+ {{ if not (eq (len $.Site.Taxonomies.tags) 0) }} + {{ $fontUnit := "rem" }} + {{ $largestFontSize := 2.5 }} + {{ $smallestFontSize := 1.0 }} + {{ $fontSpread := sub $largestFontSize $smallestFontSize }} + {{ $max := add (len (index $.Site.Taxonomies.tags.ByCount 0).Pages) 1 }} + {{ $min := len (index $.Site.Taxonomies.tags.ByCount.Reverse 0).Pages }} + {{ $spread := sub $max $min }} + {{ $fontStep := div $fontSpread $spread }} +
    + {{ range $name, $taxonomy := $.Site.Taxonomies.tags }} + {{ $currentTagCount := len $taxonomy.Pages }} + {{ $currentFontSize := (add $smallestFontSize (mul (sub $currentTagCount $min) $fontStep) ) }} + {{ $count := len $taxonomy.Pages }} + {{ $weigth := div (sub (math.Log $count) (math.Log $min)) (sub (math.Log $max) (math.Log $min)) }} + {{ $currentFontSize := (add $smallestFontSize (mul (sub $largestFontSize $smallestFontSize) $weigth) ) }} +
  • {{ $name }}
  • + {{ end }} +
+ {{ end }} +
+ +
+ +{{ partial "footer.html" . }} diff --git a/website/themes/natrium/static/css/fonts.css b/website/themes/natrium/static/css/fonts.css new file mode 100644 index 0000000..d096b37 --- /dev/null +++ b/website/themes/natrium/static/css/fonts.css @@ -0,0 +1,89 @@ +/* roboto-mono-regular - latin */ +@font-face { + font-family: 'Roboto Mono'; + font-style: normal; + font-weight: 400; + src: local('Roboto Mono'), local('RobotoMono-Regular'), + url('../fonts/roboto-mono-v5-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../fonts/roboto-mono-v5-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* lato-regular - latin */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 400; + src: local('Lato Regular'), local('Lato-Regular'), + url('../fonts/lato-v14-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../fonts/lato-v14-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* lato-700 - latin */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 700; + src: local('Lato Bold'), local('Lato-Bold'), + url('../fonts/lato-v14-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../fonts/lato-v14-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* lato-italic - latin */ +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 400; + src: local('Lato Italic'), local('Lato-Italic'), + url('../fonts/lato-v14-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../fonts/lato-v14-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* lato-700italic - latin */ +@font-face { + font-family: 'Lato'; + font-style: italic; + font-weight: 700; + src: local('Lato Bold Italic'), local('Lato-BoldItalic'), + url('../fonts/lato-v14-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../fonts/lato-v14-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* merriweather-regular - latin */ +@font-face { + font-family: 'Merriweather'; + font-style: normal; + font-weight: 400; + src: local('Merriweather Regular'), local('Merriweather-Regular'), + url('../fonts/merriweather-v19-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../fonts/merriweather-v19-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* merriweather-italic - latin */ +@font-face { + font-family: 'Merriweather'; + font-style: italic; + font-weight: 400; + src: local('Merriweather Italic'), local('Merriweather-Italic'), + url('../fonts/merriweather-v19-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../fonts/merriweather-v19-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* merriweather-700 - latin */ +@font-face { + font-family: 'Merriweather'; + font-style: normal; + font-weight: 700; + src: local('Merriweather Bold'), local('Merriweather-Bold'), + url('../fonts/merriweather-v19-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../fonts/merriweather-v19-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* merriweather-700italic - latin */ +@font-face { + font-family: 'Merriweather'; + font-style: italic; + font-weight: 700; + src: local('Merriweather Bold Italic'), local('Merriweather-BoldItalic'), + url('../fonts/merriweather-v19-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('../fonts/merriweather-v19-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ +} +/* fontawesome */ +@font-face { + font-family: 'FontAwesome'; + src: url('../fonts/fontawesome-webfont.eot?v=4.7.0'); + src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'); + font-weight: normal; + font-style: normal; +} diff --git a/website/themes/natrium/static/css/main.css b/website/themes/natrium/static/css/main.css new file mode 100644 index 0000000..1ce0f12 --- /dev/null +++ b/website/themes/natrium/static/css/main.css @@ -0,0 +1,536 @@ +html, +body { + margin: 0; + padding: 0; + position: relative; +} + +body { + font-family: 'Merriweather', serif; + -webkit-hyphens: auto; + hyphens: auto; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: 'Lato', sans-serif; + color: #222; +} + +pre, +code { + font-family: 'Roboto Mono', monospace; + font-size: 15px; +} + +code { + border-radius: 3px; + padding: 1px 3px; + background: #f0f0f0; + -webkit-hyphens: none; + hyphens: none; +} + +pre { + overflow-x: auto; + padding: 8px 12px; + border-radius: 3px; + background: #202020; + color: #d0d0d0; +} + +pre code { + padding: initial; + background: transparent; +} + +a:hover, +a:active { + outline: none; + background-color: rgba(0,0,0,0); + -webkit-tap-highlight-color: rgba(0,0,0,0); +} + +img { + display: block; + margin: 0 auto; + max-width: 100%; + height: auto; +} + +blockquote { + border-left: 5px solid #ccc; + background: #f5f5f5; + margin: 20px; + padding-left: 10px; +} + +.wrapper { + overflow: hidden; + position: relative; +} + +.header { + padding: 20px 0; + position: relative; + background: #f5f5f5; + border-bottom: 1px solid #eaeaea; +} + +.nav { + max-width: 800px; + margin: 0 auto; + padding: 0 15px; + font-family: 'Lato', sans-serif; + text-align: right; +} + +.nav-logo { + float: left; + margin-top: -11px; + transition: transform 150ms ease-out; +} + +.nav-logo:hover { + transform: scale(1.1); +} + +.nav-logo img { + display: block; + max-height: 40px; + width: auto; +} + +.nav-links { + margin: 0; + padding: 0; + font-size: 14px; + list-style: none; +} + +.nav-links li { + display: inline-block; + margin: 0 0 0 15px; +} + +.nav-links li:first-child { + margin-left: 0; +} + +.nav-links a { + text-decoration: none; + color: #444; +} + +.nav-links a:hover { + color: #111; +} + +.content { + display: block; + max-width: 700px; + margin: 60px auto 80px; + padding: 0 15px; + font-size: 16px; + line-height: 1.7; + color: #555; +} + +.article-title { + font-size: 34px; + color: #222; + margin: 0; + line-height: 1.3; +} + +.article-date { + font-size: 16px; + font-family: 'Lato', sans-serif; + color: #ccc; +} + +.article-content p { + margin: 15px 0 25px; +} + +.article-content a { + text-decoration: none; + color: inherit; + border-bottom: medium solid #f0f0f0; + transition: border-color 600ms; +} + +.article-content a:hover, +.article-content a:active { + border-color: #606060; +} + +.article-content hr { + width: 150px; + margin: 50px auto; + height: 1px; + overflow: hidden; + border: none; + background: #e8e8e8; +} + +.article-taxonomy { + list-style: none; + padding-left: 0; + font-family: 'Lato', sans-serif; + color: #404040; + font-size: 14px; + text-align: left; +} + +.article-taxonomy hr { + width: 200px; + margin: 5px 0 10px; + height: 1px; + border: none; + background: #e8e8e8; +} + +.article-taxonomy a { + display: inline-block; + margin: 0 10px 0 0; + text-decoration: none; + color: inherit; + transition: color 300ms; +} + +.article-taxonomy a:hover, +.article-taxonomy a:active { + color: #ccc; +} + +.article-image-large { + padding: 2px; + border: solid 1px #e6e6e6; + opacity: 1; + transition: opacity 1s; +} + +.article-image-large:hover, +.article-image-large:active { + opacity: 0.5; +} + +.list, +.category, +.tag-cloud { + margin: 0; + padding: 0; + line-height: 1.3em; +} + +.list-title, +.category-title, +.tag-cloud-title { + font-size: 32px; + margin-top: 60px; + padding-bottom: 10px; +} + +.list-item { + margin: 0 0 20px; + padding: 0; +} + +.list-item-date { + display: block; + padding: 4px 0; + font-family: 'Lato', sans-serif; + color: #ccc; + font-size: 14px; +} + +.list-item a { + display: inline-block; + box-sizing: border-box; + width: auto; + max-width: 100%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + padding: 3px 0; + text-decoration: none; + font-size: 17px; + font-family: 'Lato', sans-serif; + font-weight: bold; + color: #222; + border-bottom: 1px solid #ddd; + transition: border-color 300ms; +} + +.list-item a:hover { + border-color: #222; +} + +.category-item { + display: block; + list-style: none; + margin: 5px 0 15px; + padding: 0; +} + +.category-item a { + display: inline-block; + padding: 5px 0; + text-decoration: none; + font-size: 19px; + font-family: 'Lato', sans-serif; + font-weight: bold; + color: #222; + transition: color 300ms; +} + +.category-item-count { + font-family: 'Lato', sans-serif; + margin-right: 15px; + color: #ccc; + font-size: 14px; + font-weight: bold; +} + +.tag-cloud-item { + margin: 0; + padding: 0; +} + +.tag-cloud-item li { + display: inline-block; + list-style: none; + padding: 0 15px 15px 0; +} + +.tag-cloud-item a { + text-decoration: none; + font-family: 'Lato', sans-serif; + font-weight: bold; + color: #222; + transition: color 300ms; +} + +.tag-cloud-item a:hover, +.tag-cloud-item a:active, +.category-item a:hover, +.category-item a:active { + color: #ccc; +} + +.footer { + height: 40px; + margin: 0; + padding: 0; + text-align: center; + font-family: 'Lato', sans-serif; +} + +.footer-links { + list-style: none; + margin: 0; + padding: 0; + color: #ccc; + font-size: 14px; +} + +.footer-links li { + margin: 0; + padding: 0; + display: inline-block; +} + +.footer-links a { + color: #888; + text-decoration: none; + transition: color 300ms; + margin: 0 5px; +} + +.footer-links a:hover { + color: #222; +} + +.footer-links li::before { + content: '•'; + position: relative; + left: -2px; +} + +.footer-links li:first-child::before { + display: none; +} + +.page-links { + margin: 25px 0; + padding: 0; + text-align: center; + font-family: 'Lato', sans-serif; + font-size: 16px; +} + +.page-links li { + display: inline-block; +} + +.page-links a { + text-decoration: none; + padding: 0 5px; + color: #555; + transition: color 300ms; +} + +.page-links a:hover { + color: #ccc; +} + +.page-links-active a, +.page-links-disabled a { + text-decoration: none; + color: #ccc; +} + +.error-page-title { + text-align: center; + font-size: 76px; +} + +.error-page-content { + text-align: center; +} + +.error-page-content a { + text-decoration: none; + color: inherit; + transition: color 600ms; +} + +.error-page-content a:hover, +.error-page-content a:active { + color: #ccc; +} + +.fa { + font-family: 'FontAwesome'; + font-style: normal; +} + +.fa-rss::before { + content: "\f09e"; +} + +.fa-chevron-up::before { + content: "\f077"; +} + +.fa-github::before { + content: "\f09b"; +} + +.fa-tags::before { + content: "\f02c"; + float: left; + padding: 0px 10px 50px 0; +} + +.fa-category::before { + content: "\f07c"; + float: left; + padding: 0 10px 0px 0; +} + +@media (min-width: 600px) { + code { + padding: 2px 4px; + } + + pre, + code { + font-size: 17px; + } + + .header { + padding: 25px 0; + } + + .nav-logo { + margin-top: -13px; + } + + .nav-logo img { + max-height: 50px; + } + + .nav-links { + font-size: 18px; + } + + .nav-links li { + margin: 0 0 0 30px; + } + + .content { + font-size: 19px; + line-height: 1.8; + margin: 100px auto; + } + + .article-title { + font-size: 42px; + } + + .article-date { + font-size: 19px; + } + + .article-taxonomy { + font-size: 17px; + } + + .list-title, + .category-title, + .tag-cloud-title { + font-size: 38px; + } + + .list-item a { + padding: 5px 0; + font-size: 21px; + } + + .list-item-date { + padding: 5px 0; + font-size: 17px; + text-align: right; + float: right; + } + + .category-item { + display: inline-block; + } + + .category-item a { + font-size: 21px; + } + + .footer-links { + font-size: inherit; + } + + .footer-links a { + margin: 0 15px; + } + + .page-links { + font-size: 19px; + } + + .error-page-title { + font-size: 114px; + } +} diff --git a/website/themes/natrium/static/fonts/fontawesome-webfont.woff b/website/themes/natrium/static/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000..400014a Binary files /dev/null and b/website/themes/natrium/static/fonts/fontawesome-webfont.woff differ diff --git a/website/themes/natrium/static/fonts/fontawesome-webfont.woff2 b/website/themes/natrium/static/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000..4d13fc6 Binary files /dev/null and b/website/themes/natrium/static/fonts/fontawesome-webfont.woff2 differ diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-700.woff b/website/themes/natrium/static/fonts/lato-v14-latin-700.woff new file mode 100644 index 0000000..1d9d75b Binary files /dev/null and b/website/themes/natrium/static/fonts/lato-v14-latin-700.woff differ diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-700.woff2 b/website/themes/natrium/static/fonts/lato-v14-latin-700.woff2 new file mode 100644 index 0000000..d88f1af Binary files /dev/null and b/website/themes/natrium/static/fonts/lato-v14-latin-700.woff2 differ diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff b/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff new file mode 100644 index 0000000..f79d9a9 Binary files /dev/null and b/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff differ diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff2 b/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff2 new file mode 100644 index 0000000..c351d88 Binary files /dev/null and b/website/themes/natrium/static/fonts/lato-v14-latin-700italic.woff2 differ diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff b/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff new file mode 100644 index 0000000..169e8cf Binary files /dev/null and b/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff differ diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff2 b/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff2 new file mode 100644 index 0000000..2688dc6 Binary files /dev/null and b/website/themes/natrium/static/fonts/lato-v14-latin-italic.woff2 differ diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff b/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff new file mode 100644 index 0000000..97ab144 Binary files /dev/null and b/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff differ diff --git a/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff2 b/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff2 new file mode 100644 index 0000000..b14c76c Binary files /dev/null and b/website/themes/natrium/static/fonts/lato-v14-latin-regular.woff2 differ diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff b/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff new file mode 100644 index 0000000..54fd386 Binary files /dev/null and b/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff differ diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff2 b/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff2 new file mode 100644 index 0000000..c10e226 Binary files /dev/null and b/website/themes/natrium/static/fonts/merriweather-v19-latin-700.woff2 differ diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff b/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff new file mode 100644 index 0000000..a390989 Binary files /dev/null and b/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff differ diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff2 b/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff2 new file mode 100644 index 0000000..0538466 Binary files /dev/null and b/website/themes/natrium/static/fonts/merriweather-v19-latin-700italic.woff2 differ diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff b/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff new file mode 100644 index 0000000..b03db73 Binary files /dev/null and b/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff differ diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff2 b/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff2 new file mode 100644 index 0000000..a854315 Binary files /dev/null and b/website/themes/natrium/static/fonts/merriweather-v19-latin-italic.woff2 differ diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff b/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff new file mode 100644 index 0000000..941d8a8 Binary files /dev/null and b/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff differ diff --git a/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff2 b/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff2 new file mode 100644 index 0000000..e834d42 Binary files /dev/null and b/website/themes/natrium/static/fonts/merriweather-v19-latin-regular.woff2 differ diff --git a/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff b/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff new file mode 100644 index 0000000..0ea5db8 Binary files /dev/null and b/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff differ diff --git a/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff2 b/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff2 new file mode 100644 index 0000000..6163de7 Binary files /dev/null and b/website/themes/natrium/static/fonts/roboto-mono-v5-latin-regular.woff2 differ diff --git a/website/themes/natrium/static/images/logo.png b/website/themes/natrium/static/images/logo.png new file mode 100644 index 0000000..c636fe9 Binary files /dev/null and b/website/themes/natrium/static/images/logo.png differ diff --git a/website/themes/natrium/theme.toml b/website/themes/natrium/theme.toml new file mode 100644 index 0000000..5105c3e --- /dev/null +++ b/website/themes/natrium/theme.toml @@ -0,0 +1,17 @@ +name = "Natrium" +license = "MIT" +licenselink = "https://github.com/mobybit/hugo-natrium-theme/blob/master/LICENSE.md" +description = "Natrium minimal theme" +homepage = "https://github.com/mobybit/hugo-natrium-theme" +tags = ["blog", "minimal", "personal", "responsive"] +features = ["blog", "taxonomies", "privacy"] +min_version = 0.25 + +[author] + name = "Tim Krieger" + homepage = "https://blog.mobybit.de" + +[original] + name = "Jonathan Rutheiser" + homepage = "http://jrutheiser.com/" + repo = "https://github.com/jrutheiser/hugo-lithium-theme" -- cgit v1.3.1-26-gb76a