Skip to content

Commit a5f3520

Browse files
committed
specify category in taglinks and latest
1 parent 9df0f37 commit a5f3520

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

app/templates/latest.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ <h3 class="title">Latest in tutorialdb </h3>
1717
<button class="fa fa-share-alt is-pulled-right" id="shareIcon"
1818
onclick='share("{{ tutorial.title }}","{{ tutorial.link }}")'></button>
1919
</div>
20+
<br>
21+
<span class="tag is-medium" style="background-color: rgb(0, 196, 167); color: white;"><b>{{ tutorial.category }}</b>
22+
</span>
2023
</div>
2124
{% endfor %}
2225
</div>

app/templates/taglinks.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ <h2 class="title is-4">Tutorials Tagged
2121
<button class="fa fa-share-alt is-pulled-right" id="shareIcon"
2222
onclick='share("{{ tutorial.title }}","{{ tutorial.link }}")'></button>
2323
</div>
24+
<br>
25+
<span class="tag is-medium" style="background-color: rgb(0, 196, 167); color: white;"><b>{{ tutorial.category }}</b>
26+
</span>
2427
</div>
2528
{% endfor %}
2629
<div class="field">

0 commit comments

Comments
 (0)