EH006/modules/archive/_archive_widget1.html.erb

19 lines
814 B
Plaintext
Executable File

<div class="w-archive widget-archive-1" module="archive" data-ps="">
<h3 class="w-archive__widget-title">{{widget-title}}</h3>
<ul class="w-archive__list level-1 list-unstyled" data-list="categories" data-level="0">
<li class="w-archive__item level-1">
<h4 class="w-archive__item-heading">{{category-title}}</h4>
<li class="w-archive__item level-2">
<ul class="w-archive__list level-3" data-list="archives" data-level="1">
<li class="w-archive__item level-3">
<a class="w-archive__link" href="{{archive_url}}">{{archive-title}}</a>
</li>
</ul>
</li>
</li>
</ul>
<p class="more">
<a class="btn btn-sm btn-primary" href="{{more_url}}"><%= (I18n.locale.to_s =="zh_tw") ? "更多資訊" : "More" %></a>
</p>
</div>