-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
90 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
function FooterElement() { | ||
return ` | ||
<p class="mt-4 text-secondary opacity-75 text-center"> | ||
written with | ||
<span onclick='Route("#about")' class='text-primary-emphasis' style='cursor: pointer'> | ||
<i class="bi bi-cup-hot-fill"></i> writea | ||
</span> | ||
</p> | ||
<a href="#about" class="text-decoration-none"> | ||
<p class="mt-4 text-secondary opacity-75 text-center"> | ||
written with | ||
<span class='text-primary-emphasis'> | ||
<i class="bi bi-cup-hot-fill"></i> writea | ||
</span> | ||
</p> | ||
</a> | ||
` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
function RenderBlogFeatures(content) { | ||
let output = content | ||
|
||
// render emojis | ||
// This renders blog features before everything else is rendered. | ||
function PreRenderBlogFeatures(content) { | ||
// Render emoji | ||
let emoji = new EmojiConvertor(); | ||
emoji.img_set = "twitter" | ||
emoji.img_sets.twitter.path = "./src/vendor/img/twemoji-64/" | ||
emoji.img_sets.twitter.sheet = "./src/vendor/img/twemoji-64.png" | ||
|
||
output = emoji.replace_unified(content); | ||
output = emoji.replace_colons(content); | ||
content = emoji.replace_unified(content); | ||
content = emoji.replace_colons(content); | ||
|
||
// Return final output | ||
return content | ||
} | ||
|
||
|
||
// return output | ||
return output | ||
// This renders blog features after everything else has been rendered. | ||
function PostRenderBlogFeatures(content) { | ||
// Return final output | ||
return content | ||
} |