commit 25be0198c00c09ab15844fa3a590285c98b8cab8 Author: TheJoKlLa Date: Wed Feb 26 15:48:48 2020 +0100 Initial commit diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8a384a6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Nathan Day, TheJoKlLa + +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/README.md b/README.md new file mode 100644 index 0000000..f8b1c2c --- /dev/null +++ b/README.md @@ -0,0 +1,152 @@ +# min_night + +Blogs are for reading and sharing. This theme tries to make both of those better. + +`min_night` is built on top of [Minimal](https://github.com/calintat/minimal), and keeps a lot of the cool original features: + +- Bootstrap +- GoogleAnalytics +- GoogleFonts +- FontAwesome +- HighlightJS + + +It also gets a bunch of new add-ons: + +- A night-mode toggle, with HTML5 storage to remember view preferences +- OpenGraph and TwitterCard meta tags for upgrading your social sharing +- Favicon support via the [RealFaviconGenerator](https://realfavicongenerator.net/) +- A site logo for index.html (headshot, hexsticker...its up to you) +- A tags/categories list page template from [Xmin](https://github.com/yihui/hugo-xmin) +- Updated tag labels to hyperlinks (categories too) +- Tweaked list templates for posts and projects + +A live demo is available [here](https://natedayta.com). + +## Installation + +Installing Hugo themes as submodules is best. + +This is how you can get starting with `min_night` using the [QuickStart tutorial](https://gohugo.io/getting-started/quick-start/). Run each line individually. + +```bash +hugo new site quick +cd quick +git init +git submodule add https://github.com/nathancday/min_night.git themes/min_night +cp -r themes/min_night/exampleSite/ . +hugo server -D +``` + +Now your brand new site is being served locally at `localhost:1313`. + +Submodules are better because it makes updating the theme easier for future you. + +``` +$ git submodule update --remote themes/min_night +``` + +Personally I use this theme via the `R` package `blogdown`, and you can too, like this: + +``` +library(blogdown) +new_site(theme = "nathancday/min_night") +``` + +## Configuration + +To configure most of the customizations in this theme all you need to do is edit the parameters in `quick/config.toml`. + +### Colors + +```toml +[params] + accent = "#006264" + backgroundColor = "#f5f5f5" +``` + +- `accent` changes the color of the navbar and footer in day-mode and the color of the body background of your site in night-mode. Dark colors work best. + +- `backgroundColor` changes the background color of the body. The default is light grey for easy eye reading. + +Always use hex codes. + +### Fonts + +```toml +[params] + font = "Mina" +``` + +This theme uses [Google Fonts](https://fonts.google.com), so go nuts. + + +### Syntax highlighting + +```toml +[params] + highlight = true + highlightStyle = "solarized-dark" + highlightLanguages = ["r", "python", "bash"] +``` + +The theme supports syntax highlighting thanks to [highlight.js](https://highlightjs.org), which is turned on by default. Checkout out the available palette options [here](https://highlightjs.org/static/demo/). Note `highlightStyle` param should be hyphen-separated lowercase. + +Make sure your main languages render well and keep control on the languages that get special highlighted. + +For best aesthetics with dark-mode, I reccommend choosing a light background style that matches your `accent` color. + +### Favicons + +This theme comes equipped with stock favicons modeled as hex stickers. + +To update those, pick out an image and head over to [RealFaviconGenerator](https://realfavicongenerator.net/). Go through their build process and append the path `/img/favicon/` at the last step when you download. Just unzip and drop all of the new files in `quick/static/img/favicon/`. Now you have favicons for everything from tablets to tiles, that's tight. + +### Site Logo + +The site logo defaults to using the 192x192 Android favicon but you can change the path for `logo` param in `config.toml`. This could be a headshot, another hex-sticker or something completely different, but if you want to change the image dimensions drastically, you may have to tweak `layouts/index.html` directly to get a good result. + +### Social Sharing + +You must change `baseURL` to your current domain for this feature to work properly. + +```toml +baseURL = "your_domain.com" +``` + +The current set up has two TwitterCard/OpenGraph options depending on the params you specify in your post's front matter. If you add the param `twitter_img` to a post, with the valid image path, then a summary card with large image will be shown. If you don't provide `twitter_img` then a summary card with the site logo will be shown instead. For best scaling large image summary wants a 2:1 ratio image and regular summary wants 1:1. The post `exampleSite/creating-a-new-theme.md` has been tweaked to include these new params, so you can template and test off of that. + +The summary description will use the one provided in a post's front matter if it exists or use the generic site description from `config.toml`. You should also adjust the `twitterAuthor` and `twitterSite` params in `config.toml` to point to your account. You can check how your cards are rendering once your website is being publish with the [TwitterCard Validator](https://cards-dev.twitter.com/validator). + +### Font Awesome + +Font Awesome v5 icons are supported. The syntax for using these icons has changed with the version update. You must now include the full name of the icon e.g. `far fa-twitter` which adds a tag that specifies the weight of the icon used. Note that only free icons are supported by default. If you are a Font Awesome Pro user, you can add your website as a new project which will generate the code necessary to reference the pro CDN. Use the HTML code that is generated to replace that in the file at layouts/partials/css.html. Learn more in the [Font Awesome docs](https://fontawesome.com/how-to-use/on-the-web/referencing-icons/basic-use). + +### [Coral](https://github.com/coralproject/talk) (formarly Talk) + + +[Coral](https://github.com/coralproject/talk) is set of tools back by Mozilla, to make website commenting better. It is aimed at the news industry and has a lot of features for moderating a community, including abilities to mute annoying voices, set up specific notifications and access detailed commentor histories. + +While Coral can be viewed as alternative to Hugo's built-in support of Disqus, but it is definately geared towrds larger sites and requires extra tech infrastructure. Inorder to run Coral you will need to install additional software on your server, but this theme includes partial layouts for easily adding the required JS + HTML into your pages. + +To enable the parts for Talk v4 and Coral (Talk v5) edit your `config.toml` file like this: + +```toml +talkHost = "talk.example.com" # TalkV4 +coralHost = "coral.example.com" +``` + +Make sure you comment out (or delete) the `disqusShortName` field in `config.toml` to prevent multiple comment plugins being included. And make sure your host has SSL encryption (eg https://example.com) enabled becasue Talk/Coral requires it. + +Talk/Coral templates are graciously contributed by @mzch + +## Going forward + +This theme is something I enjoy and hope you do to. + +If you get unexpected behavior post an issue and try to keep it as minimal as possible. Ideally bug reports would be reproducible using the [QuickStart tutorial](https://gohugo.io/getting-started/quick-start/) plus whatever changes cause the problem. + +Pull requests are literally the best thing since ever, so if you have the idea (and the time) to add something to `min_night` do it! I promise I will respond quickly. + +Happy blogging! + diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..e544dbc --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ dateFormat "2006-01-02" .Date }} +draft: true +--- diff --git a/archetypes/post.md b/archetypes/post.md new file mode 100644 index 0000000..fbe5d98 --- /dev/null +++ b/archetypes/post.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ dateFormat "2006-01-02" .Date }} +tags: [] +draft: true +--- diff --git a/archetypes/project.md b/archetypes/project.md new file mode 100644 index 0000000..97c3a59 --- /dev/null +++ b/archetypes/project.md @@ -0,0 +1,8 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +description: "" +repo: "" +tags: [] +weight: 0 +draft: true +--- diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..1fd3d39 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,9 @@ +{{ partial "header" . }} + +
+
+

Page not found

+
+
+ +{{ partial "footer" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..8e24eea --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,19 @@ +{{ partial "header" . }} + +
+

{{ .Title }}

+ + {{ range (.Paginator 10).Pages }} + {{ if eq "Posts" $.Title }} + {{partial "list-item-post.html" .}} + {{else}} + {{ partial "list-item-project" . }} + {{end}} + {{end}} + +
+ +{{ partial "paginator" . }} + + +{{ partial "footer" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..1367c9d --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,38 @@ +{{ partial "header" . }} + +
+ + {{ partial "list-item" . }} + +
{{ .Content }}
+ + + {{ $related := first 3 (where (where (where .Site.Pages.ByDate.Reverse ".Type" "==" "post") ".Params.tags" "intersect" .Params.tags) "Permalink" "!=" .Permalink) }} + + {{ if $related }} + + + + {{ range $related }} {{ partial "list-item" . }} {{ end }} + + {{ end }} + + {{ if and .Site.DisqusShortname (not .Params.disableComments) }} + + + + {{ template "_internal/disqus.html" . }} + + {{ end }} + + {{ if .Site.Params.talkHost }} + {{ partial "talk.html" . }} + {{ end }} + + {{ if .Site.Params.coralHost }} + {{ partial "coral.html" . }} + {{ end }} + +
+ +{{ partial "footer.html" . }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html new file mode 100644 index 0000000..f579a16 --- /dev/null +++ b/layouts/_default/terms.html @@ -0,0 +1,23 @@ +{{ partial "header" . }} + +
+ +
+

{{ .Title }}

+ +
    + {{ range $key, $value := .Data.Terms }} +
  • + + {{ $key }} + + ({{ len $value }}) +
  • + {{ end }} +
+
+ +
+ + +{{ partial "footer" . }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..625f636 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,20 @@ +{{ partial "header" . }} + +
+ +
+ +
+ Whoopsies, this is my bad side! +

{{ .Title }}

+
+ + +
+

{{ .Site.Params.description }}

+
+
+ +
+ +{{ partial "footer" . }} diff --git a/layouts/partials/css.html b/layouts/partials/css.html new file mode 100644 index 0000000..7f1159b --- /dev/null +++ b/layouts/partials/css.html @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + +{{ range .Site.Params.css }} {{ end }} + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..12f1ebe --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,10 @@ + + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..8ce10aa --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,53 @@ + + + + + + {{ .Title }} + + {{ partial "css" . }} {{ partial "js" . }} {{ hugo.Generator }} + + + + + + + + + + + + + + + + + diff --git a/layouts/partials/js.html b/layouts/partials/js.html new file mode 100644 index 0000000..fc72c59 --- /dev/null +++ b/layouts/partials/js.html @@ -0,0 +1,42 @@ + +{{ range .Site.Params.js }} + +{{ end }} + + + + + + + + + + + + + + + + diff --git a/layouts/partials/list-item-post.html b/layouts/partials/list-item-post.html new file mode 100644 index 0000000..75c2186 --- /dev/null +++ b/layouts/partials/list-item-post.html @@ -0,0 +1,35 @@ +
+ + {{ $.Scratch.Set "link" .RelPermalink }} + {{ with .Params.repo }} + {{ $repoHost := default "github" $.Params.repoHost }} + {{ if eq "github" $repoHost }} + {{ printf "https://github.com/%s/%s/" $.Site.Params.githubUsername . | $.Scratch.Set "link" }} + {{ else if eq "gitlab" $repoHost }} + {{ printf "https://gitlab.com/%s/%s/" $.Site.Params.gitlabUsername . | $.Scratch.Set "link" }} + {{ else if eq "bitbucket" $repoHost }} + {{ printf "https://bitbucket.org/%s/%s/" $.Site.Params.bitbucketUsername . | $.Scratch.Set "link" }} + {{ end }} + {{ end }} + {{ with .Params.link }} {{ $.Scratch.Set "link" . }} {{ end }} + + {{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006") | $.Scratch.Set "pub_date" }} + {{ with .Description }} {{ $.Scratch.Set "subtitle" . }} {{ end }} + {{ with .ReadingTime }} {{ $.Scratch.Set "read_time" . }} {{ end }} + + +

{{ .Title }}

+
{{ $.Scratch.Get "pub_date" }} - {{ $.Scratch.Get "read_time" }} minutes
+
{{ $.Scratch.Get "subtitle" }}
+ {{ range.Params.categories }} + + {{ . }} + + {{ end }} + {{ range .Params.tags }} + + {{ . }} + + {{ end }} + +
diff --git a/layouts/partials/list-item-project.html b/layouts/partials/list-item-project.html new file mode 100644 index 0000000..47c52b4 --- /dev/null +++ b/layouts/partials/list-item-project.html @@ -0,0 +1,36 @@ +
+ +{{ $.Scratch.Set "link" .RelPermalink }} +{{ with .Params.repo }} +{{ $repoHost := default "github" $.Params.repoHost }} +{{ if eq "github" $repoHost }} +{{ printf "https://github.com/%s/%s/" $.Site.Params.githubUsername . | $.Scratch.Set "link" }} +{{ else if eq "gitlab" $repoHost }} +{{ printf "https://gitlab.com/%s/%s/" $.Site.Params.gitlabUsername . | $.Scratch.Set "link" }} +{{ else if eq "bitbucket" $repoHost }} +{{ printf "https://bitbucket.org/%s/%s/" $.Site.Params.bitbucketUsername . | $.Scratch.Set "link" }} +{{ end }} +{{ end }} +{{ with .Params.link }} {{ $.Scratch.Set "link" . }} {{ end }} + +{{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006") | $.Scratch.Set "pub_date" }} +{{ with .Description }} {{ $.Scratch.Set "subtitle" . }} {{ end }} +{{ with .ReadingTime }} {{ $.Scratch.Set "read_time" . }} {{ end }} + + +

{{ .Title }}

+
{{ $.Scratch.Get "pub_date" }}
+
{{ $.Scratch.Get "subtitle" }}
+ {{ range.Params.categories }} + + {{ . }} + + {{ end }} + {{ range .Params.tags }} + + {{ . }} + + {{ end }} + +
+ \ No newline at end of file diff --git a/layouts/partials/list-item.html b/layouts/partials/list-item.html new file mode 100644 index 0000000..078b638 --- /dev/null +++ b/layouts/partials/list-item.html @@ -0,0 +1,37 @@ +
+ + {{ $.Scratch.Set "link" .RelPermalink }} + {{ with .Params.repo }} + {{ $repoHost := default "github" $.Params.repoHost }} + {{ if eq "github" $repoHost }} + {{ printf "https://github.com/%s/%s/" $.Site.Params.githubUsername . | $.Scratch.Set "link" }} + {{ else if eq "gitlab" $repoHost }} + {{ printf "https://gitlab.com/%s/%s/" $.Site.Params.gitlabUsername . | $.Scratch.Set "link" }} + {{ else if eq "bitbucket" $repoHost }} + {{ printf "https://bitbucket.org/%s/%s/" $.Site.Params.bitbucketUsername . | $.Scratch.Set "link" }} + {{ end }} + {{ end }} + {{ with .Params.link }} {{ $.Scratch.Set "link" . }} {{ end }} + + {{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006") | $.Scratch.Set "pub_date" }} + {{ with .Description }} {{ $.Scratch.Set "subtitle" . }} {{ end }} + {{ with .ReadingTime }} {{ $.Scratch.Set "read_time" . }} {{ end }} + + +

{{ .Title }}

+
{{ $.Scratch.Get "pub_date" }} - {{ $.Scratch.Get "read_time" }} minutes
+
{{ $.Scratch.Get "subtitle" }}
+ + {{ range.Params.categories }} + + + {{ . }} + + {{ end }} + {{ range .Params.tags }} + + {{ . }} + + {{ end }} + +
diff --git a/layouts/partials/paginator.html b/layouts/partials/paginator.html new file mode 100644 index 0000000..25562e7 --- /dev/null +++ b/layouts/partials/paginator.html @@ -0,0 +1,17 @@ +{{ if or .Paginator.HasPrev .Paginator.HasNext }} + +
+ + {{ if .Paginator.HasPrev }} + + {{ end }} {{ if .Paginator.HasNext }} + + {{ end }} + +
+ +{{ end }} \ No newline at end of file diff --git a/layouts/partials/toggle.html b/layouts/partials/toggle.html new file mode 100644 index 0000000..f3f192b --- /dev/null +++ b/layouts/partials/toggle.html @@ -0,0 +1,10 @@ +
  • + +
  • \ No newline at end of file diff --git a/static/css/main.css b/static/css/main.css new file mode 100644 index 0000000..2c6284b --- /dev/null +++ b/static/css/main.css @@ -0,0 +1,204 @@ +html, body { + height: 100%; +} + +body { + font-size:1.5em; + padding-top: 55px; + display: flex; + text-align: center; + flex-direction: column; +} + +main { + margin: auto; + padding: 25px; + flex: auto; + max-width: 750px; +} + +/*footer*/ + +.copyright { + margin: 15px 0; +} + +/*home page*/ + +.intro { + /* transform: translateY(80%); */ +} + +.intro > h1 { + font-size: 4em; + font-weight: bold; + +} + +.intro > h2 { + font-size: 2em; +} + +.intro > .profile { + width: 10vh; + height: 10vh; + border-radius: 50%; +} + +/*apply accent colour to links*/ + +a:link, a:visited { + color: #555555; +} + +#bigbody main a { + color: var(--accent) !important; +} + +#bigfooter a:link, a:visited { + color: #cccccc; +} + +#bigfooter a:hover { + text-decoration: underline; + color: #FFF; +} + + +/*paginator at bottom of list view*/ + +.pages { + padding: 15px 0; +} + +.pages-icon { + padding: 0 15px; +} + +/*list item for posts and projects*/ + +.item { + padding: 10px 0; +} + +.item-cat { + background-color: #757575; + margin:1px; +} + +.item-tag { + background-color: var(--accent); + margin:1px; +} + +.terms { + margin: 1px; + padding: 1px; + list-style-type: none; +} + +/*navigation bar icons*/ + +.navbar-icon { + font-size: 120%; + display: inline-block !important; +} + +/*coloured borders at top and bottom of the page*/ +.navbar.navbar-default { + border-top: var(--border-width) solid var(--accent); + background-color: var(--accent); + font-size: 120%; + color: #FFF !important; +} +.navbar-default .navbar-nav li a { + color: #cccccc; +} + +.navbar-default .navbar-nav li a:hover { + color: #FFF; +} + +.navbar-default .navbar-nav.-nightmode li a:hover { + color: #cccccc; +} + +.navbar-default .navbar-brand { + color: #cccccc !important; +} + +/* custome footer */ +footer { + background-color: var(--accent); + border-top: #e7e7e7 solid; + border-top-width: 1px; + color: #fff; + /* border-bottom: var(--border-width) solid #f8f8f8; */ +} +footer a { + color: #cccccc; +} +footer p { + color: #cccccc; +} + +img { + max-width: 100%; +} + +.flaticon { + font-size: 0.5em +} + +/** Intvert colors + * Wonderful CSS filter trick by Leo Nikkilä + * @link https://lnikki.la/articles/night-mode-css-filter/ + */ +#bigbody.-nightmode { + background: var(--accent)!important; + color: #333333 !important; + -webkit-filter: invert(1) hue-rotate(180deg); + filter: invert(1) hue-rotate(180deg) +} +/* "re-flip"" certain elements to keep colors */ +#bigbody.-nightmode img, video { + -webkit-filter: invert(1) hue-rotate(-180deg); + filter: invert(1) hue-rotate(-180deg) +} +#bigbody.-nightmode iframe { + -webkit-filter: invert(1) hue-rotate(-180deg); + filter: invert(1) hue-rotate(-180deg) +} +/* custom behavior for specfic element */ +#bigbody.-nightmode main a { + color: var(--accent) !important; +} +#bigbody.-nightmode .item-tag { + background-color: var(--accent) !important; + color: #f8f8f8 !important; +} + +/* slider attributes match navbar elements */ +#night-mode-toggle { + font-size: 100%; + padding-top:10px; +} +/* built on-top of Custom Style .ios + from: http://www.bootstraptoggle.com/ */ +.toggle.ios, .toggle-on.ios, .toggle-off.ios { border-radius: 20px} +.toggle.ios .toggle-handle { border-radius: 20px;} +.toggle.ios .toggle-group {transition: none;-webkit-transition: none;} + +.toggle-on { + background-color: #e1e1e1; + color: #373a3d; +} + +.toggle-on:hover { + background-color: var(--accent); + color: #e1e1e1; +} +.toggle-off:hover { + background-color: var(--accent) !important; + color: #f8f8f8 !important; +} diff --git a/static/img/favicon/android-chrome-192x192.png b/static/img/favicon/android-chrome-192x192.png new file mode 100644 index 0000000..66f7312 Binary files /dev/null and b/static/img/favicon/android-chrome-192x192.png differ diff --git a/static/img/favicon/android-chrome-512x512.png b/static/img/favicon/android-chrome-512x512.png new file mode 100644 index 0000000..46f996c Binary files /dev/null and b/static/img/favicon/android-chrome-512x512.png differ diff --git a/static/img/favicon/apple-touch-icon.png b/static/img/favicon/apple-touch-icon.png new file mode 100644 index 0000000..d4a6c05 Binary files /dev/null and b/static/img/favicon/apple-touch-icon.png differ diff --git a/static/img/favicon/browserconfig.xml b/static/img/favicon/browserconfig.xml new file mode 100644 index 0000000..f9c2e67 --- /dev/null +++ b/static/img/favicon/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #2b5797 + + + diff --git a/static/img/favicon/favicon-16x16.png b/static/img/favicon/favicon-16x16.png new file mode 100644 index 0000000..3d33b16 Binary files /dev/null and b/static/img/favicon/favicon-16x16.png differ diff --git a/static/img/favicon/favicon-32x32.png b/static/img/favicon/favicon-32x32.png new file mode 100644 index 0000000..ca8c712 Binary files /dev/null and b/static/img/favicon/favicon-32x32.png differ diff --git a/static/img/favicon/favicon.ico b/static/img/favicon/favicon.ico new file mode 100644 index 0000000..b9e6a81 Binary files /dev/null and b/static/img/favicon/favicon.ico differ diff --git a/static/img/favicon/logo.png b/static/img/favicon/logo.png new file mode 100644 index 0000000..b1ede37 Binary files /dev/null and b/static/img/favicon/logo.png differ diff --git a/static/img/favicon/mstile-144x144.png b/static/img/favicon/mstile-144x144.png new file mode 100644 index 0000000..2aa6010 Binary files /dev/null and b/static/img/favicon/mstile-144x144.png differ diff --git a/static/img/favicon/mstile-150x150.png b/static/img/favicon/mstile-150x150.png new file mode 100644 index 0000000..0afe1c0 Binary files /dev/null and b/static/img/favicon/mstile-150x150.png differ diff --git a/static/img/favicon/mstile-310x150.png b/static/img/favicon/mstile-310x150.png new file mode 100644 index 0000000..4863102 Binary files /dev/null and b/static/img/favicon/mstile-310x150.png differ diff --git a/static/img/favicon/mstile-310x310.png b/static/img/favicon/mstile-310x310.png new file mode 100644 index 0000000..8c307d1 Binary files /dev/null and b/static/img/favicon/mstile-310x310.png differ diff --git a/static/img/favicon/mstile-70x70.png b/static/img/favicon/mstile-70x70.png new file mode 100644 index 0000000..6f073a1 Binary files /dev/null and b/static/img/favicon/mstile-70x70.png differ diff --git a/static/img/favicon/safari-pinned-tab.svg b/static/img/favicon/safari-pinned-tab.svg new file mode 100644 index 0000000..fef1bc4 --- /dev/null +++ b/static/img/favicon/safari-pinned-tab.svg @@ -0,0 +1,53 @@ + + + + +Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + + + + + + + diff --git a/static/img/favicon/site.webmanifest b/static/img/favicon/site.webmanifest new file mode 100644 index 0000000..b20abb7 --- /dev/null +++ b/static/img/favicon/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/theme.toml b/theme.toml new file mode 100644 index 0000000..cac3141 --- /dev/null +++ b/theme.toml @@ -0,0 +1,15 @@ +name = "fabinfra" +license = "MIT" +licenselink = "" +description = "Theme for the FabInfra Project" +homepage = "https://gitlab.com/fabinfra/fabinfra-theme" +tags = [] +features = [] +min_version = "0.35" + +[author] + name = "TheJoKlLa" + +[original] + name = "Nate Day" + homepage = "https://natedayta.com"