diff options
| author | Fuwn <[email protected]> | 2020-11-08 21:01:55 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2020-11-08 21:01:55 -0800 |
| commit | 6f4d4f283affaf50b4c242b1ff0a275c22af81e6 (patch) | |
| tree | d8e3fed1b3e2dc8ab9db4a5229f8bcba28548599 /templates | |
| parent | fix: make tweet this https (diff) | |
| download | blog-6f4d4f283affaf50b4c242b1ff0a275c22af81e6.tar.xz blog-6f4d4f283affaf50b4c242b1ff0a275c22af81e6.zip | |
feat: (desc)
feat:
- 404 redirect
- darkmode boilerplate
- konami ee
- "back to home" to "back home"
- "read on" to "read more"
- id main stylesheets for later darkmode
- console log ee and darmode extension
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/article.ejs | 2 | ||||
| -rw-r--r-- | templates/index.ejs | 2 | ||||
| -rw-r--r-- | templates/layout.ejs | 10 |
3 files changed, 10 insertions, 4 deletions
diff --git a/templates/article.ejs b/templates/article.ejs index 880bd1e..dc3540b 100644 --- a/templates/article.ejs +++ b/templates/article.ejs @@ -34,6 +34,6 @@ -- <br><br> <a target="_blank" rel="noopener" href="<%= tweetUrl %>" class="tweet">tweet this</a> - <a href="/">« back to home</a> + <a href="/">« back home</a> </footer> </article> diff --git a/templates/index.ejs b/templates/index.ejs index 0bbbfdf..b369862 100644 --- a/templates/index.ejs +++ b/templates/index.ejs @@ -12,7 +12,7 @@ <p class="listing"> <%- (article.description || article.summary).replace(/<.?p>/g, "") %> <a href="<%= article.route %>"> - <span aria-hidden="true">read on »</span> + <span aria-hidden="true">read more »</span> <span class="sr-only">continue reading this article</span> </a> </p> diff --git a/templates/layout.ejs b/templates/layout.ejs index 484c56e..fda9694 100644 --- a/templates/layout.ejs +++ b/templates/layout.ejs @@ -6,8 +6,8 @@ <%= title %> </title> - <link rel="stylesheet" href="/css/style.css"> - <link rel="stylesheet" href="/css/tomorrow.min.css"> + <link rel="stylesheet" id="main-style" href="/css/style.css"> + <link rel="stylesheet" id="hl-style" href="/css/tomorrow.min.css"> <link rel="stylesheet" href="/css/demos/clicking.css"> <link rel="stylesheet" href="/css/demos/hover.css"> <link rel="stylesheet" href="/css/demos/shared.css"> @@ -110,6 +110,7 @@ <script async src="/js/flasher.js"></script> <script async src="/js/demos/clicking.js"></script> <script async src="/js/demos/hover.js"></script> + <script async src="/js/konami.js"></script> <% if (typeof isEditor !== "undefined" && isEditor) { %> <script src="/editor/ejs.min.js"></script> @@ -117,6 +118,11 @@ <script src="/editor/marked.min.js"></script> <script src="/editor/editor.js"></script> <% } %> + + <script defer> + console.log("Wanna see a cool, but unfinished easter egg? Hint: Konami Code."); + console.log("Also, since I haven't gotten around to adding a dark mode, this blog is best read with the Dark Reader browser extension."); + </script> </body> </html> |