-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
creates custom index.vto, updates posts
- Loading branch information
Showing
5 changed files
with
63 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
home: | ||
welcome: Welcome. | ||
welcome: Andy Zeigert on the web | ||
description: Please check out my blog below for starters | ||
|
||
extra_head: <link rel="stylesheet" href="/variables.css"/> | ||
<link rel="me" href="https://mastodon.social/@zeigert"/> | ||
<link rel="me" href="https://github.com/ajzeigert"/> | ||
<link rel="me" href="mailto:[email protected]"/> | ||
<link rel="me" href="https://www.linkedin.com/in/andy-zeigert/"/> | ||
|
||
footer: Copyright © 2023 Andy Zeigert | ||
|
||
menu_links: | ||
- href: https://mastodon.social/@zeigert | ||
text: '@zeigert' | ||
|
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
layout: layouts/base.vto | ||
bodyClass: body-home | ||
title: Home | ||
--- | ||
|
||
<header class="page-header"> | ||
<h1 class="page-title">{{ home.welcome }}</h1> | ||
<h4 class="page-description">{{ home.description }}</h4> | ||
<div class="search" id="search"></div> | ||
</header> | ||
|
||
<section class="postList"> | ||
{{ for post of search.pages("type=post", "date=desc", 3) }} | ||
<article class="post"> | ||
<header class="post-header"> | ||
<h2 class="post-title"> | ||
<a href="{{ post.url }}" {{ if post.url == url }} aria-current="page"{{ /if }}> | ||
{{ post.title || post.url }} | ||
</a> | ||
</h2> | ||
|
||
{{ include "templates/post-details.vto" { | ||
date: post.date, | ||
tags: post.tags, | ||
author: post.author, | ||
readingInfo: post.readingInfo | ||
} }} | ||
</header> | ||
|
||
<div class="post-excerpt body"> | ||
{{ post.excerpt |> md }} | ||
</div> | ||
|
||
<a href="{{ post.url }}" class="post-link"> | ||
{{ i18n.nav.continue_reading }} | ||
</a> | ||
</article> | ||
{{ /for }} | ||
</section> | ||
|
||
<hr> | ||
|
||
<p>{{ i18n.nav.archive }}</p> | ||
|
||
<footer><small>{{ footer }}</small></footer> |
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