change timestamps

main
barisusakli 9 years ago
parent c48df20194
commit b630d1e75e

@ -11,7 +11,7 @@
<!-- ENDIF ../user.picture -->
</a>
<a class="permalink" href="{config.relative_path}/topic/{../topic.slug}<!-- IF ../index -->/{../index}<!-- ENDIF ../index -->">
<small class="timeago" title="{../timestamp}"></small>
<small class="timeago" title="{../timestampISO}"></small>
</a>
</p>
<div class="post-content">

@ -24,7 +24,7 @@
<div class="post-author">
<a href="{config.relative_path}/user/{posts.user.userslug}">{posts.user.username}</a><br />
<span class="timeago" title="{posts.relativeTime}"></span>
<span class="timeago" title="{posts.timestampISO}"></span>
</div>
</div>
</div>

@ -23,7 +23,7 @@
<!-- ENDIF posts.user.banned -->
<div class="visible-xs-inline-block visible-sm-inline-block visible-md-inline-block visible-lg-inline-block">
<a class="permalink" href="{config.relative_path}/topic/{slug}/{function.getBookmarkFromIndex}"><span class="timeago" title="{posts.relativeTime}"></span></a>
<a class="permalink" href="{config.relative_path}/topic/{slug}/{function.getBookmarkFromIndex}"><span class="timeago" title="{posts.timestampISO}"></span></a>
<i class="fa fa-pencil-square pointer edit-icon <!-- IF !posts.editor.username -->hidden<!-- ENDIF !posts.editor.username -->"></i>

@ -48,12 +48,12 @@
<!-- IF topics.tags.length --><small>&bull;</small><!-- ENDIF topics.tags.length -->
</span>
<small class="hidden-xs"><span class="timeago" title="{topics.relativeTime}"></span></small>
<small class="hidden-xs"><span class="timeago" title="{topics.timestampISO}"></span></small>
<small class="visible-xs-inline">
<!-- IF topics.teaser.timestamp -->
<span class="timeago" title="{topics.teaser.timestamp}"></span>
<span class="timeago" title="{topics.teaser.timestampISO}"></span>
<!-- ELSE -->
<span class="timeago" title="{topics.relativeTime}"></span>
<span class="timeago" title="{topics.timestampISO}"></span>
<!-- ENDIF topics.teaser.timestamp -->
</small>
</h2>
@ -90,7 +90,7 @@
<!-- ENDIF topics.teaser.user.picture -->
</a>
<a class="permalink" href="{config.relative_path}/topic/{topics.slug}/{topics.teaser.index}">
<span class="timeago" title="{topics.teaser.timestamp}"></span>
<span class="timeago" title="{topics.teaser.timestampISO}"></span>
</a>
</p>
<div class="post-content">

@ -165,7 +165,7 @@
<div class="user-icon user-img" style="background-color: {posts.user.icon:bgColor};">{posts.user.icon:text}</div>
<!-- ENDIF posts.user.picture -->
</a>
<a href="{config.relative_path}/category/{posts.category.slug}">[[global:posted_in, {posts.category.name}]] <i class="fa {posts.category.icon}"></i> <span class="timeago" title="{posts.relativeTime}"></span></a>
<a href="{config.relative_path}/category/{posts.category.slug}">[[global:posted_in, {posts.category.name}]] <i class="fa {posts.category.icon}"></i> <span class="timeago" title="{posts.timestampISO}"></span></a>
</span>
</small>
</div>

@ -24,8 +24,8 @@
<li component="post" class="<!-- IF posts.deleted -->deleted<!-- ENDIF posts.deleted -->" <!-- IMPORT partials/data/topic.tpl -->>
<a component="post/anchor" data-index="{posts.index}" name="{posts.index}"></a>
<meta itemprop="datePublished" content="{posts.relativeTime}">
<meta itemprop="dateModified" content="{posts.relativeEditTime}">
<meta itemprop="datePublished" content="{posts.timestampISO}">
<meta itemprop="dateModified" content="{posts.editedISO}">
<!-- IMPORT partials/topic/post.tpl -->
</li>

Loading…
Cancel
Save