File tree 4 files changed +7
-3
lines changed
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ jekyll-archives:
39
39
- categories
40
40
layout : topic
41
41
permalinks :
42
- category : ' /topic/:name/'
42
+ category : ' /blog/ topic/:name/'
43
43
44
44
# jekyll-polyglot preferences
45
45
languages : ["en", "fr"]
Original file line number Diff line number Diff line change 14
14
15
15
< div class ="trigger ">
16
16
{% for item in site.data.navigation %}
17
+ {% if page.url contains item.name or page.layout == item.name %}
18
+ < span class ="page-link "> {{ site.data.strings[item.name] }}</ span >
19
+ {% else %}
17
20
< a class ="page-link " href ="{{ item.url | relative_url }} "> {{ site.data.strings[item.name] }}</ a >
21
+ {% endif %}
18
22
{% endfor %}
19
23
</ div >
20
24
</ nav >
Original file line number Diff line number Diff line change 10
10
{% if topic_name == page.title %}
11
11
{{ site.data.strings.topics[topic_name] }}
12
12
{% else %}
13
- < a href ="/topic/{{ topic_name }} "> {{ site.data.strings.topics[topic_name] }}</ a >
13
+ < a href ="/blog/ topic/{{ topic_name }} "> {{ site.data.strings.topics[topic_name] }}</ a >
14
14
{% endif %}
15
15
{% if forloop.last == false %}
16
16
|
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
21
21
•
22
22
{% endif %}
23
23
{% assign topic_name = category[0] %}
24
- < a href ="/topic/{{ topic_name }} "> {{ site.data.strings.topics[topic_name] }}</ a >
24
+ < a href ="/blog/ topic/{{ topic_name }} "> {{ site.data.strings.topics[topic_name] }}</ a >
25
25
{% if forloop.last == false %}
26
26
|
27
27
{% endif %}
You can’t perform that action at this time.
0 commit comments