use config.relative_path
parent
2ae1322f6e
commit
2945bcfa48
@ -1,7 +1,7 @@
|
||||
<!-- IF categories.link -->
|
||||
<a href="{categories.link}" itemprop="url" target="_blank">
|
||||
<!-- ELSE -->
|
||||
<a href="{relative_path}/category/{categories.slug}" itemprop="url">
|
||||
<a href="{config.relative_path}/category/{categories.slug}" itemprop="url">
|
||||
<!-- ENDIF categories.link -->
|
||||
{categories.name}
|
||||
</a>
|
@ -1,5 +1,5 @@
|
||||
<!-- IF topics.tags.length -->
|
||||
<!-- BEGIN tags -->
|
||||
<a href="{relative_path}/tags/{topics.tags.value}"><span class="tag-item" data-tag="{topics.tags.value}" style="<!-- IF topics.tags.color -->color: {topics.tags.color};<!-- ENDIF topics.tags.color --><!-- IF topics.tags.bgColor -->background-color: {topics.tags.bgColor};<!-- ENDIF topics.tags.bgColor -->">{topics.tags.value}</span><span class="tag-topic-count">{topics.tags.score}</span></a>
|
||||
<a href="{config.relative_path}/tags/{topics.tags.value}"><span class="tag-item" data-tag="{topics.tags.value}" style="<!-- IF topics.tags.color -->color: {topics.tags.color};<!-- ENDIF topics.tags.color --><!-- IF topics.tags.bgColor -->background-color: {topics.tags.bgColor};<!-- ENDIF topics.tags.bgColor -->">{topics.tags.value}</span><span class="tag-topic-count">{topics.tags.score}</span></a>
|
||||
<!-- END tags -->
|
||||
<!-- ENDIF topics.tags.length -->
|
@ -1,13 +1,13 @@
|
||||
<h3>Upvoters <small>({upvoteCount})</small></h3>
|
||||
<!-- BEGIN upvoters -->
|
||||
<a href="{relative_path}/user/{upvoters.userslug}">
|
||||
<a href="{config.relative_path}/user/{upvoters.userslug}">
|
||||
<img class="profile-image small" src="{upvoters.picture}" title="{upvoters.username}"/>
|
||||
</a>
|
||||
<!-- END upvoters -->
|
||||
|
||||
<h3>Downvoters <small>({downvoteCount})</small></h3>
|
||||
<!-- BEGIN downvoters -->
|
||||
<a href="{relative_path}/user/{downvoters.userslug}">
|
||||
<a href="{config.relative_path}/user/{downvoters.userslug}">
|
||||
<img class="profile-image small" src="{downvoters.picture}" title="{downvoters.username}"/>
|
||||
</a>
|
||||
<!-- END downvoters -->
|
@ -1,5 +1,5 @@
|
||||
<!-- BEGIN tags -->
|
||||
<h3 class="pull-left tag-container">
|
||||
<a href="{relative_path}/tags/{tags.value}" data-value="{tags.value}"><span class="tag-item" data-tag="{tags.value}" style="<!-- IF tags.color -->color: {tags.color};<!-- ENDIF tags.color --><!-- IF tags.bgColor -->background-color: {tags.bgColor};<!-- ENDIF tags.bgColor -->">{tags.value}</span><span class="tag-topic-count">{tags.score}</span></a>
|
||||
<a href="{config.relative_path}/tags/{tags.value}" data-value="{tags.value}"><span class="tag-item" data-tag="{tags.value}" style="<!-- IF tags.color -->color: {tags.color};<!-- ENDIF tags.color --><!-- IF tags.bgColor -->background-color: {tags.bgColor};<!-- ENDIF tags.bgColor -->">{tags.value}</span><span class="tag-topic-count">{tags.score}</span></a>
|
||||
</h3>
|
||||
<!-- END tags -->
|
@ -1,9 +1,9 @@
|
||||
<!-- IF posts.user.groups.length -->
|
||||
<!-- BEGIN groups -->
|
||||
<!-- IF groups.selected -->
|
||||
<!-- IF groups.userTitleEnabled -->
|
||||
<a href="{relative_path}/groups/{posts.user.groups.slug}"><small class="label group-label inline-block" style="background-color: {posts.user.groups.labelColor};"><!-- IF posts.user.groups.icon --><i class="fa {posts.user.groups.icon}"></i> <!-- ENDIF posts.user.groups.icon -->{posts.user.groups.userTitle}</small></a>
|
||||
<!-- ENDIF groups.userTitleEnabled -->
|
||||
<!-- ENDIF groups.selected -->
|
||||
<!-- IF ../selected -->
|
||||
<!-- IF ../userTitleEnabled -->
|
||||
<a href="{config.relative_path}/groups/{../slug}"><small class="label group-label inline-block" style="background-color: {../labelColor};"><!-- IF ../icon --><i class="fa {../icon}"></i> <!-- ENDIF ../icon -->{../userTitle}</small></a>
|
||||
<!-- ENDIF ../userTitleEnabled -->
|
||||
<!-- ENDIF ../selected -->
|
||||
<!-- END groups -->
|
||||
<!-- ENDIF posts.user.groups.length -->
|
@ -1 +1 @@
|
||||
<small component="post/editor" class="pull-right <!-- IF !editor.username -->hidden<!-- ENDIF !editor.username -->">[[global:last_edited_by_ago, <strong><a href="{relative_path}/user/{editor.userslug}">{editor.username}</a></strong>, <span class="timeago" title="{relativeEditTime}"></span>]]</small>
|
||||
<small component="post/editor" class="pull-right <!-- IF !editor.username -->hidden<!-- ENDIF !editor.username -->">[[global:last_edited_by_ago, <strong><a href="{config.relative_path}/user/{editor.userslug}">{editor.username}</a></strong>, <span class="timeago" title="{relativeEditTime}"></span>]]</small>
|
Loading…
Reference in New Issue