Simpler postfeed
This commit is contained in:
parent
3355e09f11
commit
711be45882
4 changed files with 15 additions and 5 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -303,7 +303,15 @@ ul.nav a:hover {
|
|||
/* Index
|
||||
/* ---------------------------------------------------------- */
|
||||
|
||||
.gh-postfeed .post {
|
||||
display: block;
|
||||
padding: 1vmin 0;
|
||||
}
|
||||
|
||||
.gh-postfeed .post span {
|
||||
color: var(--color-primary);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
/* Page
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
{{!< default}}
|
||||
|
||||
<div class="gh-container">
|
||||
<ul>
|
||||
<div class="gh-postfeed">
|
||||
{{#foreach posts visibility="all"}}
|
||||
<li><time datetime="{{date format="YYYY-MM-DD"}}">{{date format="D MMM, YYYY"}} -</time> <a href="{{url}}">{{title}}</a></li>
|
||||
<a class="{{post_class}}" href="{{url}}">
|
||||
<time datetime="{{date format="YYYY-MM-DD"}}">{{date format="D MMM, YYYY"}}</time> - <span>{{title}}</span>
|
||||
</a>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue