diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2018-02-18 05:47:54 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2018-02-18 05:47:54 +0300 |
commit | e762a72a5e96951e5fe1c0a2158ff223e4efe0ee (patch) | |
tree | 6b40bd36056633c53cdabb6f77191637f41c5c11 | |
parent | rename (and repurpose) the repo (diff) | |
download | blog-e762a72a5e96951e5fe1c0a2158ff223e4efe0ee.tar.gz blog-e762a72a5e96951e5fe1c0a2158ff223e4efe0ee.zip |
don't color text-mutex links only for categories
Diffstat (limited to '')
-rw-r--r-- | _layouts/post.html | 2 | ||||
-rw-r--r-- | css/common/misc.css | 2 | ||||
-rw-r--r-- | index.html | 2 |
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> Posted on {{ page.date | date_to_long_string }} - {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a href="{{ site.baseurl }}/{{ page.category | slugify: 'pretty' }}/">{{ page.category }}</a>{% endif %} + {%- if page.category %} in <span class="glyphicon glyphicon-folder-open"></span> <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; } @@ -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> Posted on {{ post.date | date_to_long_string }} - {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %} + {%- if post.category %} in <span class="glyphicon glyphicon-folder-open"></span> <a class="category" href="{{ site.baseurl }}/{{ post.category | slugify: 'pretty' }}/">{{ post.category }}</a>{% endif %} </p> <p>{{ post.excerpt }}</p> <hr/> |