Skip to content

Commit

Permalink
1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jkjoy committed Jul 9, 2024
1 parent 024750f commit 5932a9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions post.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@
<span class="tag">
<?php if ($this->tags): ?>
<?php foreach ($this->tags as $tag): ?>
<a href="<?php echo $tag['permalink']; ?>">#<?php echo $tag['name']; ?></a>
<a href="<?php echo $tag['permalink']; ?>">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="14" height="14" fill="rgba(87,107,79,1)"><path d="M7.78428 14L8.2047 10H4V8H8.41491L8.94043 3H10.9514L10.4259 8H14.4149L14.9404 3H16.9514L16.4259 8H20V10H16.2157L15.7953 14H20V16H15.5851L15.0596 21H13.0486L13.5741 16H9.58509L9.05957 21H7.04855L7.57407 16H4V14H7.78428ZM9.7953 14H13.7843L14.2047 10H10.2157L9.7953 14Z"></path></svg>
<?php echo $tag['name']; ?></a>
<?php endforeach; ?>
<?php else: ?>
无标签

<?php endif; ?>
</span>
</div>
Expand Down

0 comments on commit 5932a9e

Please sign in to comment.