aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 05:47:54 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-02-18 05:47:54 +0300
commite762a72a5e96951e5fe1c0a2158ff223e4efe0ee (patch)
tree6b40bd36056633c53cdabb6f77191637f41c5c11
parentrename (and repurpose) the repo (diff)
downloadjekyll-theme-e762a72a5e96951e5fe1c0a2158ff223e4efe0ee.tar.gz
jekyll-theme-e762a72a5e96951e5fe1c0a2158ff223e4efe0ee.zip
don't color text-mutex links only for categories
-rw-r--r--_layouts/post.html2
-rw-r--r--css/common/misc.css2
-rw-r--r--index.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index df526e1..27c69f4 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -4,7 +4,7 @@
<h1>{{ page.title }}</h1>
<p class="text-muted">
<span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ page.date | date_to_long_string }}
- {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %}
+ {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %}
</p>
{{ content }}
<hr/>
diff --git a/css/common/misc.css b/css/common/misc.css
index bb6f791..4bf362b 100644
--- a/css/common/misc.css
+++ b/css/common/misc.css
@@ -45,6 +45,6 @@ code {
background-color: inherit;
}
/* Don't color category links blue. */
-.text-muted a {
+.text-muted a.category {
color: inherit;
}
diff --git a/index.html b/index.html
index 111f13e..6fc0460 100644
--- a/index.html
+++ b/index.html
@@ -14,7 +14,7 @@ root_page: true
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
<p class="text-muted">
<span class="glyphicon glyphicon-time"></span>&nbsp;Posted on {{ post.date | date_to_long_string }}
- {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}
+ {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span>&nbsp;<a class="category" href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %}
</p>
<p>{{ post.excerpt }}</p>
<hr/>