summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2025-01-08 12:38:44 +1100
committerYour Name <you@example.com>2025-01-08 12:38:44 +1100
commitb8ce88c99112828bfe6b8942e1ace2350b2d1fe6 (patch)
tree0bc883d2821dcb749457202665ccc6acc75c8bef
parent4b7e651bf64b641583a45c122798212931902ef4 (diff)
jeaves.xyz current templates and config
-rw-r--r--config9
-rw-r--r--templates/core/entry7
-rw-r--r--templates/core/index5
-rw-r--r--templates/core/page5
-rw-r--r--templates/header9
5 files changed, 24 insertions, 11 deletions
diff --git a/config b/config
index 64e425d..a173f79 100644
--- a/config
+++ b/config
@@ -2,8 +2,8 @@
## They respectively represent where content is sourced, and where the output
## will go.
-variable d_source {}
-variable d_output {}
+variable d_source {/home/aleksei/jeaves.xyz/content/}
+variable d_output {/home/aleksei/jeaves.xyz/www/}
## Replacement is a Tcl dictionary. Following 'dict create', you can
## enter your own parameters in the form
@@ -12,6 +12,7 @@ variable d_output {}
variable replacement \
[dict create \
- {<!--css_main-->} {/style/main.css} \
- {<!--css_article-->} {/style/article.css} \
+ {<!--domain-->} {http://localhost:8000} \
+ {<!--css-->} {/style.css} \
+ {<!--favicon-->} {/favicon.ico} \
]; ## Do not delete this line!
diff --git a/templates/core/entry b/templates/core/entry
index ae3af04..4f8e242 100644
--- a/templates/core/entry
+++ b/templates/core/entry
@@ -1,5 +1,6 @@
<div class='entry'>
- <div class='entry-title'><a href="<!--filename-->"><!--title--></a></div>
- <div class='entry-date'><!--date--></div>
- <div class='entry-subtitle'><!--subtitle--></div>
+ <span class='entry-title'><a href="<!--filename-->"><!--title--></a></span>
+ <span class='entry-date'><!--date--></span>
+ <br>
+ <span class='entry-subtitle'><!--subtitle--></span>
</div>
diff --git a/templates/core/index b/templates/core/index
index 9d53d86..26aef90 100644
--- a/templates/core/index
+++ b/templates/core/index
@@ -1,11 +1,14 @@
<html>
<head>
+ <title><!--title--></title>
<meta charset="utf-8">
- <link href="<!--css_main-->" rel="stylesheet" type="text/css">
+ <link href="<!--domain-->/<!--css-->" rel="stylesheet" type="text/css">
+ <link rel="icon" type="image/x-icon" href="<!--favicon-->">
</head>
<body>
<!--HEADER-->
<!--CORE/CONTENT-->
<!--FOOTER-->
</body>
+
</html>
diff --git a/templates/core/page b/templates/core/page
index 10937cc..896f372 100644
--- a/templates/core/page
+++ b/templates/core/page
@@ -1,8 +1,9 @@
<html>
<head>
+ <title><!--title--></title>
<meta charset="utf-8">
- <link href="<!--css_main-->" rel="stylesheet" type="text/css">
- <link href="<!--css_article-->" rel="stylesheet" type="text/css">
+ <link href="<!--domain-->/<!--css-->" rel="stylesheet" type="text/css">
+ <link rel="icon" type="image/x-icon" href="<!--domain-->/<!--favicon-->">
</head>
<body>
<!--HEADER-->
diff --git a/templates/header b/templates/header
index 68adf2e..48b81dc 100644
--- a/templates/header
+++ b/templates/header
@@ -1 +1,8 @@
-<header></header> \ No newline at end of file
+<header>
+ <a href="/"> Aleksei John Eaves </a>
+ <a href="/blog/personal/">Personal Blog</a>
+ <a href="/blog/technical/">Technical Blog</a>
+ <a href="http://git.jeaves.xyz/">cgit</a>
+ <a href="mailto:alekseijeaves@protonmail.com">E-mail Address</a>
+</header>
+<hr>