Skip to content

Commit

Permalink
Update article template with tag icon
Browse files Browse the repository at this point in the history
  • Loading branch information
IanWold committed Oct 14, 2024
1 parent e3301a1 commit effd00a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Templates/article.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
</span>

{% if topics %}
<span class="topic">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-git-commit"><circle cx="12" cy="12" r="4"></circle><line x1="1.05" y1="12" x2="7" y2="12"></line><line x1="17.01" y1="12" x2="22.96" y2="12"></line></svg>
<span class="topics">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7.01" y2="7"></line></svg>
{% for topic in topics %}
<a href="{{ directoryPrefix }}Topic/{{ topic | downcase }}.html">{{ topic }}</a>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion build.csx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ new MetalsharpProject()

foreach (var topic in topicPosts)
{
project.AddOutput(new MetalsharpFile(string.Empty, $".\\Series\\{topic.Key.ToLowerInvariant()}.html", new Dictionary<string, object>()
project.AddOutput(new MetalsharpFile(string.Empty, $".\\Topics\\{topic.Key.ToLowerInvariant()}.html", new Dictionary<string, object>()
{
["title"] = topic.Key,
["topic"] = topic.Key,
Expand Down

0 comments on commit effd00a

Please sign in to comment.