Add text variant

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-09-11 23:04:32 +03:00
parent 64db65c72e
commit 7f53d88f50
47 changed files with 6851 additions and 86 deletions

44
author.hbs Normal file
View File

@@ -0,0 +1,44 @@
{{!< default}} <main id="gh-main" class="gh-main gh-canvas">
{{#author}}
<section class="gh-pagehead">
{{#if profile_image}}
<img class="gh-author-image gh-pagehead-image" src="{{profile_image}}" alt="{{name}}">
{{else}}
<span class="gh-author-icon">{{> icons/avatar}}</span>
{{/if}}
<header class="gh-pagehead-content">
<h1 class="gh-author-name gh-pagehead-title">{{name}}</h1>
{{#if bio}}
<div class="gh-author-bio gh-pagehead-description">{{bio}}</div>
{{/if}}
<div class="gh-author-meta">
{{#if location}}
<span class="gh-author-location">📍 {{location}}</span>
{{/if}}
{{#if website}}
<a class="gh-author-website" href="{{website}}" target="_blank" rel="noopener">
{{website}}
</a>
{{/if}}
<div class="gh-author-social">
{{#if twitter}}
<a class="gh-author-twitter" href="{{twitter_url}}" target="_blank" rel="noopener">
{{> icons/twitter}}
</a>
{{/if}}
{{#if facebook}}
<a class="gh-author-facebook" href="{{facebook_url}}" target="_blank" rel="noopener">
{{> icons/facebook}}
</a>
{{/if}}
</div>
</div>
</header>
</section>
{{/author}}
{{> text/feed}}
</main>