Skip to content

Commit

Permalink
Add favicon and description
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLorenzo committed Jun 7, 2017
1 parent 203e372 commit 78a4f11
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Johan's blog
author:
name: Johan Lorenzo
author: Johan Lorenzo
description: Openly shipping things
url: "https://johanlorenzo.github.io"
baseurl: "/blog"
github_username: JohanLorenzo
Expand Down
16 changes: 16 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<head>
<meta charset="{{ site.charset }}">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>

<meta name="author" content="{{ site.author }}">
<meta name="description" content="{{ page.content | strip_html | truncate: 160 }}">

<link rel="icon" href="{{ "/favicon.ico" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/assets/main.css" | prepend: site.baseurl }}">

<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" href="{{ site.subscribe_rss }}" title="{{ site.title }}" type="application/atom+xml">
</head>
1 change: 1 addition & 0 deletions favicon.ico
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion feed.releng.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.production_url }}</id>
<author>
<name>{{ site.author.name }}</name>
<name>{{ site.author }}</name>
</author>
{% for post in site.categories.releng limit:10 %}
<entry>
Expand Down

0 comments on commit 78a4f11

Please sign in to comment.