Added Inter font
This commit is contained in:
parent
1cf913b5c9
commit
56a319a3be
50 changed files with 3012 additions and 123 deletions
|
@ -17,7 +17,7 @@ Re-usable card for linking to posts
|
|||
{{/if}}
|
||||
<div class="gh-card-content">
|
||||
<span class="gh-card-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format="D MMM YYYY"}}</time> <span class="bull">•</span> {{reading_time}}</span>
|
||||
<h2 class="gh-card-title">{{title}}</h2>
|
||||
<h2 class="gh-card-title text-stone-100">{{title}}</h2>
|
||||
<p>{{excerpt}}</p>
|
||||
<strong>Read more</strong>
|
||||
</div>
|
||||
|
|
1
partials/components/tags/accent.hbs
Normal file
1
partials/components/tags/accent.hbs
Normal file
|
@ -0,0 +1 @@
|
|||
{{#if this.accent_color}}<span class="w-2 h-2 rounded-full bg-primary inline-block mr-2" style="background-color:{{this.accent_color}}"></span>{{/if}}
|
5
partials/srcset.hbs
Normal file
5
partials/srcset.hbs
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{img_url feature_image size="s"}} 400w,
|
||||
{{img_url feature_image size="m"}} 750w,
|
||||
{{img_url feature_image size="l"}} 960w,
|
||||
{{img_url feature_image size="xl"}} 1140w,
|
||||
{{img_url feature_image size="xxl"}} 1280w
|
24
partials/tags.hbs
Normal file
24
partials/tags.hbs
Normal file
|
@ -0,0 +1,24 @@
|
|||
{{#if tags}}
|
||||
<div>
|
||||
{{#if size}}
|
||||
{{#match size "=" "sm"}}
|
||||
{{#foreach tags limit="3"}}
|
||||
<a href="{{url}}" title="{{name}}" class="text-slate-200 text-xxs italic border rounded-full no-underline border-white py-1 px-2 mr-2 tag tag-{{slug}}">
|
||||
{{> "components/tags/accent"}}
|
||||
{{name}}
|
||||
</a>
|
||||
size: {{../size}}
|
||||
{{/foreach}}
|
||||
{{else}}
|
||||
{{#foreach tags limit="3"}}
|
||||
<a href="{{url}}" title="{{name}}" class="text-slate-200 text-xs italic border rounded-full no-underline border-white py-3 px-5 mr-3 tag tag-{{slug}}">
|
||||
{{> "components/tags/accent"}}
|
||||
{{name}}
|
||||
</a>
|
||||
{{/foreach}}
|
||||
{{/match}}
|
||||
{{else}}
|
||||
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
Loading…
Add table
Add a link
Reference in a new issue