Skip to content
This repository was archived by the owner on Jan 6, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 21 additions & 11 deletions post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@
<time datetime="{{date format="YYYY-MM-DD"}}">
{{date format="D MMM YYYY"}}
</time>
<span>
Tags:&nbsp;
{{#foreach tags}}
<span class="gh-post-meta-content-item">
<a href={{url}}>
{{name}}
</a>
</span>
{{/foreach}}
</span>
<span>
Written by:&nbsp;
{{#foreach authors}}
Expand All @@ -31,8 +21,28 @@
</span>
{{/foreach}}
</span>
<span>
Reading Time:&nbsp;
{{reading_time}}
</span>
</span>


<span class="flex flex-auto content-center gap-2 justify-center">
<div class="text-base">Tags:</div>
{{#foreach tags}}
{{#if @last}}
<a class="text-base" href={{url}}>
{{name}}
</a>
{{else}}
<a class="text-base" href={{url}}>
{{name}}
</a>
<div class="text-base">|</div>
{{/if}}
{{/foreach}}
</span>

{{#if custom_excerpt}}
<p>
{{custom_excerpt}}
Expand Down
12 changes: 11 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,17 @@ module.exports = {
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
extend: {
typography: {
DEFAULT: {
css: {
a: {
textDecoration: "none",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a big fan of this as it leaves users with no visual indication of hyperlinks, and makes life difficult if we don't use other colours to distinguish.

Copy link
Member

@wei2912 wei2912 Sep 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we revert the changes in tailwind.config.js? Thanks!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll assign @Hackin7 to work on this too, since it is related to #309.

},
},
},
},
},
},
variants: {
extend: {},
Expand Down