Skip to content

Commit 1c04373

Browse files
committed
fixed jumbotron categories links
1 parent 84ce0f5 commit 1c04373

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

_layouts/default.html

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ <h1 class="sitetitle">{{ site.name }}</h1>
143143
</div>
144144
{% endif %}
145145

146-
</div><!-- /.container>
147-
146+
</div>
147+
148148
<!-- Categories Jumbotron
149149
================================================== -->
150150
<div class="jumbotron fortags">
@@ -157,18 +157,23 @@ <h2 class="d-md-block align-self-center py-1 font-weight-light">Explore <span cl
157157
<div class="col-md-8 p-5 align-self-center text-center">
158158
{% assign categories_list = site.categories %}
159159
{% if categories_list.first[0] == null %}
160-
{% for category in categories_list %}
161-
<a href="{{site.baseurl}}/categories#{{ category | downcase | downcase | url_escape | strip | replace: ' ', '-' }}">{{ category | camelcase }} ({{ site.tags[category].size }})</a>
162-
{% endfor %}
160+
{% for category in categories_list %}
161+
<a href="{{site.baseurl}}/categories#{{ category | url_escape | strip | replace: ' ', '-' }}">{{ category | camelcase }} ({{ site.tags[category].size }})</a>
162+
{% endfor %}
163163
{% else %}
164-
{% for category in categories_list %}
165-
<a href="{{site.baseurl}}/categories#{{ category[0] | downcase | url_escape | strip | replace: ' ', '-' }}">{{ category[0] | camelcase }} ({{ category[1].size }})</a>
166-
{% endfor %}
164+
{% for category in categories_list %}
165+
<a href="{{site.baseurl}}/categories#{{ category[0] | url_escape | strip | replace: ' ', '-' }}">{{ category[0] | camelcase }} ({{ category[1].size }})</a>
166+
{% endfor %}
167167
{% endif %}
168168
{% assign categories_list = nil %}
169169
</div>
170+
171+
172+
170173
</div>
171174
</div>
175+
176+
172177

173178

174179

assets/css/screen.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ License: https://www.wowthemes.net/freebies-license/
120120
.listfeaturedtag h4.card-text,.listrecent h4.card-text {
121121
color:rgba(0,0,0,.44);
122122
font-size:0.95rem;
123-
line-height:1.4;
123+
line-height:1.6;
124124
font-weight:400;
125125
}
126126
.wrapfooter {
@@ -668,7 +668,7 @@ License: https://www.wowthemes.net/freebies-license/
668668

669669
.spoiler {
670670
color: transparent;
671-
text-shadow:0 0 6px rgba(0,0,0,0.2);
671+
text-shadow:0 0 10px rgba(0,0,0,0.2);
672672
transition: all .4s;
673673
cursor:pointer;
674674
position:relative;

0 commit comments

Comments
 (0)