You've already forked Ghost-Theme-Source
Fixed inconsistent width issue on tag/author templates
This commit is contained in:
54
author.hbs
54
author.hbs
@@ -4,35 +4,37 @@
|
||||
<main class="gh-main gh-outer">
|
||||
|
||||
{{#author}}
|
||||
<section class="gh-archive gh-inner">
|
||||
<div class="gh-archive-wrapper">
|
||||
<h1 class="gh-article-title is-title">
|
||||
{{#if website}}
|
||||
<a class="gh-author-social-link" href="{{website}}" target="_blank" rel="noopener">{{name}}</a>
|
||||
{{else}}
|
||||
{{name}}
|
||||
<section class="gh-archive{{#if @custom.show_sidebar}} has-sidebar{{/if}} gh-inner">
|
||||
<div class="gh-archive-inner">
|
||||
<div class="gh-archive-wrapper">
|
||||
<h1 class="gh-article-title is-title">
|
||||
{{#if website}}
|
||||
<a class="gh-author-social-link" href="{{website}}" target="_blank" rel="noopener">{{name}}</a>
|
||||
{{else}}
|
||||
{{name}}
|
||||
{{/if}}
|
||||
</h1>
|
||||
{{#if bio}}
|
||||
<p class="gh-article-excerpt">{{bio}}</p>
|
||||
{{/if}}
|
||||
</h1>
|
||||
{{#if bio}}
|
||||
<p class="gh-article-excerpt">{{bio}}</p>
|
||||
<footer class="gh-author-meta">
|
||||
<div class="gh-author-social">
|
||||
{{#if facebook}}
|
||||
<a class="gh-author-social-link" href="{{facebook_url}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
|
||||
{{/if}}
|
||||
{{#if twitter}}
|
||||
<a class="gh-author-social-link" href="{{twitter_url}}" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if location}}
|
||||
<div class="gh-author-location">{{location}}</div>
|
||||
{{/if}}
|
||||
</footer>
|
||||
</div>
|
||||
{{#if profile_image}}
|
||||
<img class="gh-article-image" src="{{img_url profile_image size="s"}}" alt="{{name}}">
|
||||
{{/if}}
|
||||
<footer class="gh-author-meta">
|
||||
<div class="gh-author-social">
|
||||
{{#if facebook}}
|
||||
<a class="gh-author-social-link" href="{{facebook_url}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
|
||||
{{/if}}
|
||||
{{#if twitter}}
|
||||
<a class="gh-author-social-link" href="{{twitter_url}}" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if location}}
|
||||
<div class="gh-author-location">{{location}}</div>
|
||||
{{/if}}
|
||||
</footer>
|
||||
</div>
|
||||
{{#if profile_image}}
|
||||
<img class="gh-article-image" src="{{img_url profile_image size="s"}}" alt="{{name}}">
|
||||
{{/if}}
|
||||
</section>
|
||||
{{/author}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user