Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adjusted and expanded as discussed with @simensen on #23
  • Loading branch information
WyriHaximus committed Jan 23, 2015
1 parent 8a08377 commit a522b02
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
13 changes: 10 additions & 3 deletions source/_views/default.html
Expand Up @@ -4,6 +4,9 @@
<title>{% block title %}{{ page.title }}{% endblock %} &mdash; {{ site.title }} &mdash; {{ site.subtitle }}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% block head_meta %}
<meta name="robots" content="noindex, follow">
{% endblock %}
<link href="{{ site.url }}/components/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="{{ site.url }}/components/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" />
<link href="{{ site.url }}/css/style.css" rel="stylesheet" type="text/css" />
Expand All @@ -13,13 +16,14 @@
<![endif]-->
<link rel="stylesheet" href="{{ site.url }}/components/highlightjs/styles/github.css" />
<link rel="alternate" type="application/atom+xml" href="{{ site.url }}/atom.xml" title="{{ site.title }} activity feed" />
{% block metaTags %}
<meta name="robots" content="noindex, follow">
{% endblock %}
<style>
/** quick fix because bootstrap <pre> has a background-color. */
pre code { background-color: inherit; }
</style>
{% block head_styles %}
{% endblock %}
{% block head_scripts %}
{% endblock %}
</head>
<body>
<header>
Expand Down Expand Up @@ -87,5 +91,8 @@ <h4>Links</h4>
{% endif %}
<script src="{{ site.url }}/components/highlightjs/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>

{% block scripts_after %}
{% endblock %}
</body>
</html>
2 changes: 1 addition & 1 deletion source/_views/post.html
@@ -1,6 +1,6 @@
{% extends "default" %}

{% block metaTags %}
{% block head_meta %}
<meta name="robots" content="index, follow">
{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion source/blog/categories/category.html
Expand Up @@ -7,7 +7,7 @@

---

{% block metaTags %}
{% block head_meta %}
<link rel="alternate" type="application/atom+xml" href="{{ site.url }}/blog/categories/{{ page.category|url_encode(true) }}.xml" title="{{ site.title }} '{{ page.category }}' category feed" />
<meta name="robots" content="noindex, follow">
{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion source/blog/tags/tag.html
Expand Up @@ -7,7 +7,7 @@

---

{% block metaTags %}
{% block head_meta %}
<link rel="alternate" type="application/atom+xml" href="{{ site.url }}/blog/tags/{{ page.tag|url_encode(true) }}.xml" title="{{ site.title }} '{{ page.tag }}' tag feed" />
<meta name="robots" content="noindex, follow">
{% endblock %}
Expand Down

0 comments on commit a522b02

Please sign in to comment.