diff options
author | Alex <alex@scerba.org> | 2024-05-04 17:27:43 -0400 |
---|---|---|
committer | Alex Scerba <alex@scerba.org> | 2024-08-15 22:54:25 -0500 |
commit | a70bda379ed3fdd1fe421cfc2606d052f7577dfd (patch) | |
tree | 593509ee01216c7bcc749551c245ceae8e5494d1 /html/index.tmpl.html | |
parent | 3bc4e4fafba8c7c0116e750c752d25095fc6c6a2 (diff) |
Move to template system and adopt the .tmpl.html extension.
Diffstat (limited to 'html/index.tmpl.html')
-rw-r--r-- | html/index.tmpl.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/html/index.tmpl.html b/html/index.tmpl.html new file mode 100644 index 0000000..8deceba --- /dev/null +++ b/html/index.tmpl.html @@ -0,0 +1,25 @@ +{{ define "title" }}Home{{end}}
+{{ define "description" }}Homepage{{end}}
+{{ define "keywords" }}home{{end}}
+
+{{ define "landing" }}
+ <div class="landing-page">
+ <div class="landing-text">
+ <span>Design.</span>
+ <span>Make.</span>
+ <span>Tinker.</span>
+ </div>
+ <a href="#intro" style="display: block;" class="arrow-container"><span class="down-arrow"></span></a>
+ </div>
+{{ end }}
+
+{{ define "main" }}
+ <section id="intro">
+ <hr style="margin-top: 0;">
+ <h1 style="font-size: 2rem; margin-top: 3rem;">Scerba.org</h1>
+ <p><i style="color: black;">The personal website of Alex Scerba.</i></p>
+ <p>Check out my <a href="/blog">blog</a> where I write about various projects, adventures, and life updates.</p>
+ <p>You can see an overview collection of every image in the blog on the <a href="/gallery">gallery</a> page and learn more about me and the site through the <a href="/about">about</a> and <a href="/faq">FAQ</a> pages.</p>
+ <p>Thanks for stopping by!</p>
+ </section>
+{{ end }}
|