diff --git a/README.md b/README.md index e92d250..b53c1b9 100644 --- a/README.md +++ b/README.md @@ -10,22 +10,25 @@ To see more, [check out my blog which is rendered with this theme](http://jnjosh ## Contents -- [Installation](#installation) -- [Getting started](#getting-started) - - [Configuring Your Blog](#configuring-your-blog) - - [Where Should Blog Post Markdown Files be Stored?](#where-should-blog-post-markdown-files-be-stored) - - [How to Configure the Menu in the Blog's Navigation](#how-to-configure-the-menu-in-the-blogs-navigation) - - [Defining Yourself as the Author](#defining-yourself-as-the-author) - - [Customizing the Bio Section, 404 Page, Javascript, or Stylesheets](#customizing-the-bio-section-404-page-javascript-or-stylesheets) - - [Creating a Link Post](#creating-a-link-post) - - [Specifying a Featured Image for Social Media](#specifying-a-featured-image-for-social-media) - - [Preferred Dark Appearance](#preferred-dark-appearance) +- [internet-weblog Theme for Hugo](#internet-weblog-theme-for-hugo) + - [Contents](#contents) + - [Installation](#installation) + - [Getting Started](#getting-started) + - [Configuring your Blog](#configuring-your-blog) + - [Where should blog post markdown files be stored?](#where-should-blog-post-markdown-files-be-stored) + - [How to configure the menu in the blog's navigation](#how-to-configure-the-menu-in-the-blogs-navigation) + - [Defining yourself as the Author](#defining-yourself-as-the-author) + - [Customizing the Bio Section, 404 page, javascript, or stylesheets](#customizing-the-bio-section-404-page-javascript-or-stylesheets) + - [Creating a Link Post](#creating-a-link-post) + - [Specifying a featured image for social media](#specifying-a-featured-image-for-social-media) + - [Preferred Dark Appearance](#preferred-dark-appearance) - [Variables](#variables) - [Overrides](#overrides) -- [Contributing](#contributing) -- [3rd Party Libraries](#3rd-party-libraries) -- [License](#license) -- [Contact](#contact) + - [Changing favicon](#changing-favicon) + - [Contributing](#contributing) + - [3rd Party Libraries](#3rd-party-libraries) + - [License](#license) + - [Contact](#contact) ## Installation @@ -225,11 +228,24 @@ The theme expects you to override a few files in your blog to finalize the custo | `custom_stylesheets.html` | If you need all pages to have your own custom stylesheets referenced, you can do so here. | No | | `custom_image_handler.html` | The footer of the blog features a photo stream. If you want to customize it or use a different source, you can override this behavior. | No | +### Changing favicon + +You have to add the following files in your `/static` folder: + +* android-chrome-192x192.png +* android-chrome-512x512.png +* apple-touch-icon.png +* favicon-16x16.png +* favicon-32x32.png +* favicon.ico +* site.webmanifest + +You can generate these files i.e. at [favicon.io](https://favicon.io). + ## Contributing Did you find a bug or have an ideas for new features? Feel free to use the issue tracker to let me know or make a pull request. - ## 3rd Party Libraries This theme makes use of the following 3rd Party Libraries. diff --git a/layouts/partials/site_header.html b/layouts/partials/site_header.html index 27a212a..e7fc06b 100644 --- a/layouts/partials/site_header.html +++ b/layouts/partials/site_header.html @@ -19,7 +19,12 @@ {{ hugo.Generator }} {{ $.Scratch.Add "title" .Site.Title }} {{ with .Title }}{{ if ne . ($.Scratch.Get "title") }}{{ . }} · {{ end }}{{ end }}@{{ .Site.Params.Author.handle }} {{ .Site.Title }} - + + + + + + {{ if .Site.Params.EnablePreferredDarkAppearance }} diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png new file mode 100644 index 0000000..8447fb6 Binary files /dev/null and b/static/android-chrome-192x192.png differ diff --git a/static/android-chrome-512x512.png b/static/android-chrome-512x512.png new file mode 100644 index 0000000..26696a2 Binary files /dev/null and b/static/android-chrome-512x512.png differ diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png new file mode 100644 index 0000000..5df1647 Binary files /dev/null and b/static/apple-touch-icon.png differ diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png new file mode 100644 index 0000000..9fda0ef Binary files /dev/null and b/static/favicon-16x16.png differ diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png new file mode 100644 index 0000000..1181f3e Binary files /dev/null and b/static/favicon-32x32.png differ diff --git a/static/favicon.ico b/static/favicon.ico index 6f1f7a3..2a52926 100644 Binary files a/static/favicon.ico and b/static/favicon.ico differ diff --git a/static/site.webmanifest b/static/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/static/site.webmanifest @@ -0,0 +1 @@ +{"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"} \ No newline at end of file