diff options
Diffstat (limited to 'blog/src/templates')
-rw-r--r-- | blog/src/templates/article/footer.html | 2 | ||||
-rw-r--r-- | blog/src/templates/article/header.html | 1 | ||||
-rw-r--r-- | blog/src/templates/articles/footer.html | 0 | ||||
-rw-r--r-- | blog/src/templates/articles/header.html | 3 | ||||
-rw-r--r-- | blog/src/templates/articles/list_entry.html | 1 | ||||
-rw-r--r-- | blog/src/templates/articles/list_footer.html | 1 | ||||
-rw-r--r-- | blog/src/templates/articles/list_header.html | 2 | ||||
-rw-r--r-- | blog/src/templates/articles/list_separator.html | 1 | ||||
-rw-r--r-- | blog/src/templates/common/footer.html | 23 | ||||
-rw-r--r-- | blog/src/templates/common/header.html | 63 | ||||
-rw-r--r-- | blog/src/templates/tag/footer.html | 0 | ||||
-rw-r--r-- | blog/src/templates/tag/header.html | 1 | ||||
-rw-r--r-- | blog/src/templates/tag/list_entry.html | 1 | ||||
-rw-r--r-- | blog/src/templates/tag/list_footer.html | 1 | ||||
-rw-r--r-- | blog/src/templates/tag/list_header.html | 1 | ||||
-rw-r--r-- | blog/src/templates/tag/list_separator.html | 1 |
16 files changed, 102 insertions, 0 deletions
diff --git a/blog/src/templates/article/footer.html b/blog/src/templates/article/footer.html new file mode 100644 index 0000000..8778a5e --- /dev/null +++ b/blog/src/templates/article/footer.html @@ -0,0 +1,2 @@ +<p>By: $$AUTHOR</p> +<p>Created: $$CTIME, edited: $$MTIME</p> diff --git a/blog/src/templates/article/header.html b/blog/src/templates/article/header.html new file mode 100644 index 0000000..cb941df --- /dev/null +++ b/blog/src/templates/article/header.html @@ -0,0 +1 @@ +<h1>$$TITLE</h1> diff --git a/blog/src/templates/articles/footer.html b/blog/src/templates/articles/footer.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/blog/src/templates/articles/footer.html diff --git a/blog/src/templates/articles/header.html b/blog/src/templates/articles/header.html new file mode 100644 index 0000000..a23b877 --- /dev/null +++ b/blog/src/templates/articles/header.html @@ -0,0 +1,3 @@ +<h1>Index -- Luévano's Blog</h1> + +<p>Welcome to my blog where I'll post whatever I please, ranging from rants to how-to's. Además, este pex va a estar en español e inglés porque quiero (no una mezcla en cada entrada, pero sí entradas completas en diferentes lenguajes).</p> diff --git a/blog/src/templates/articles/list_entry.html b/blog/src/templates/articles/list_entry.html new file mode 100644 index 0000000..d6d8e88 --- /dev/null +++ b/blog/src/templates/articles/list_entry.html @@ -0,0 +1 @@ +<li>$$DATE - <a href="$$URL">$$TITLE</a></li> diff --git a/blog/src/templates/articles/list_footer.html b/blog/src/templates/articles/list_footer.html new file mode 100644 index 0000000..3d3a44c --- /dev/null +++ b/blog/src/templates/articles/list_footer.html @@ -0,0 +1 @@ +</ul> diff --git a/blog/src/templates/articles/list_header.html b/blog/src/templates/articles/list_header.html new file mode 100644 index 0000000..7b504ea --- /dev/null +++ b/blog/src/templates/articles/list_header.html @@ -0,0 +1,2 @@ +<h2>Articles</h2> +<ul> diff --git a/blog/src/templates/articles/list_separator.html b/blog/src/templates/articles/list_separator.html new file mode 100644 index 0000000..b27ea84 --- /dev/null +++ b/blog/src/templates/articles/list_separator.html @@ -0,0 +1 @@ +<h3>$$SEP</h3> diff --git a/blog/src/templates/common/footer.html b/blog/src/templates/common/footer.html new file mode 100644 index 0000000..1c1344e --- /dev/null +++ b/blog/src/templates/common/footer.html @@ -0,0 +1,23 @@ + </main> + + <footer> + <i class="fas fa-envelope" alt="Email"></i> + Email + <a href="mailto:david@luevano.xyz"> + david@luevano.xyz + </a> + <br> + + <i class="fas fa-rss" alt="RSS"></i> + RSS + <a href="https://blog.luevano.xyz/rss.xml"> + https://blog.luevano.xyz/rss.xml + </a> + <br> + + <i class="fas fa-donate" alt="Donate"></i> + <a href="https://luevano.xyz/donate.html">Donate</a> + <a href="https://paypal.me/dlvna"><i class="fab fa-paypal" alt="Paypal"></i></a> + </footer> + </body> +</html> diff --git a/blog/src/templates/common/header.html b/blog/src/templates/common/header.html new file mode 100644 index 0000000..b7bcf9c --- /dev/null +++ b/blog/src/templates/common/header.html @@ -0,0 +1,63 @@ +<!DOCTYPE html> +<html lang="$$LANG"> + <head> + <base href="https://static.luevano.xyz/"> + <meta charset="utf-8"> + <title>$$TITLE -- Luévano's Blog</title> + <link rel="icon" href="fa/svgs/solid/dragon.svg"> + + <!-- general style --> + <link rel="stylesheet" type="text/css" href="css/style.css"> + <link rel="stylesheet" type="text/css" href="fa/css/all.min.css"> + + <!-- highlight support for code blocks --> + <script type="text/javascript" src="hl/highlight.min.js"></script> + <script type="text/javascript">hljs.initHighlightingOnLoad();</script> + + <!-- theme related --> + <script type="text/javascript" src="scripts/theme.js"></script> + <link id="theme-css" rel="stylesheet" type="text/css" href="css/dark.css"> + <link id="code-theme-css" rel="stylesheet" type="text/css" href="hl/styles/solarized-dark.min.css"> + </head> + + <body> + <header> + <nav> + <ul> + <li> + <a href="https://luevano.xyz/"><i class="fas fa-home" alt="Home"></i><span>Home</span></a> + </li> + + <li> + <a href="https://blog.luevano.xyz/"><i class="fas fa-book-open" alt="Blog"></i><span>Blog</span></a> + </li> + + <li><i class="fab fa-git" alt="Git"></i><span>Git</span> + <ul> + <li><a href="https://git.luevano.xyz/" target="_blank"><i class="fab fa-git-alt" alt="Git-alt"></i></a></li> + + <li><a href="https://github.com/luevano" target="_blank"><i class="fab fa-github" alt="Github"></i></a></li> + + <li><a href="https://gitlab.com/dluevano" target="_blank"><i class="fab fa-gitlab" alt="Gitlab"></i></a></li> + </ul> + </li> + + <li><i class="fas fa-box-open" alt="Stuff"></i><span>Stuff</span> + <ul> + <li><a href="https://gb.luevano.xyz/"><i class="fas fa-gamepad" alt="Gameboy"></i><span>Gameboy</span></a></li> + </ul> + </li> + </ul> + </nav> + + <div class="theme-switch-container"> + <i class="fas fa-sun"></i> + <label class="switch theme"> + <input id="theme-switch" type="checkbox" onclick="toggleTheme()"> + <span class="slider round"></span> + </label> + <i class="fas fa-moon"></i> + </div> + </header> + + <main> diff --git a/blog/src/templates/tag/footer.html b/blog/src/templates/tag/footer.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/blog/src/templates/tag/footer.html diff --git a/blog/src/templates/tag/header.html b/blog/src/templates/tag/header.html new file mode 100644 index 0000000..48793fb --- /dev/null +++ b/blog/src/templates/tag/header.html @@ -0,0 +1 @@ +<h1>Posts filtered by: $$NAME</h1> diff --git a/blog/src/templates/tag/list_entry.html b/blog/src/templates/tag/list_entry.html new file mode 100644 index 0000000..3a7aaad --- /dev/null +++ b/blog/src/templates/tag/list_entry.html @@ -0,0 +1 @@ +<a href="$$URL">$$NAME</a>
\ No newline at end of file diff --git a/blog/src/templates/tag/list_footer.html b/blog/src/templates/tag/list_footer.html new file mode 100644 index 0000000..8ce77e5 --- /dev/null +++ b/blog/src/templates/tag/list_footer.html @@ -0,0 +1 @@ +</p> diff --git a/blog/src/templates/tag/list_header.html b/blog/src/templates/tag/list_header.html new file mode 100644 index 0000000..d12f767 --- /dev/null +++ b/blog/src/templates/tag/list_header.html @@ -0,0 +1 @@ + <p>Tags: diff --git a/blog/src/templates/tag/list_separator.html b/blog/src/templates/tag/list_separator.html new file mode 100644 index 0000000..c3a6e48 --- /dev/null +++ b/blog/src/templates/tag/list_separator.html @@ -0,0 +1 @@ +,
\ No newline at end of file |