Add image variant
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
11
post.hbs
11
post.hbs
@@ -3,6 +3,7 @@
|
||||
{{#post}}
|
||||
|
||||
<article class="gh-article {{post_class}}">
|
||||
|
||||
<header class="gh-article-header gh-canvas">
|
||||
<h1 class="gh-article-title">{{title}}</h1>
|
||||
|
||||
@@ -27,12 +28,16 @@
|
||||
|
||||
{{> common/comments}}
|
||||
|
||||
<footer
|
||||
class="gh-article-footer gh-canvas{{#unless @member}} no-border{{/unless}}{{#unless access}} no-border{{/unless}}">
|
||||
<footer class="gh-article-footer{{#match @custom.mode "Text-based"}} gh-canvas{{/match}}{{#unless @member}}
|
||||
no-border{{/unless}}{{#unless access}} no-border{{/unless}}">
|
||||
{{#match @custom.mode "Text-based"}}
|
||||
{{> text/more}}
|
||||
{{else}}
|
||||
{{> image/more}}
|
||||
{{/match}}
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
</article>
|
||||
{{/post}}
|
||||
|
||||
</main>
|
||||
|
Reference in New Issue
Block a user