merge about into index, add blog summary to index, add to /now

This commit is contained in:
yequari 2023-10-17 15:54:16 -07:00
parent af0a42ec55
commit 4d3d18cf0b
8 changed files with 27 additions and 26 deletions

View File

@ -15,9 +15,6 @@ menu:
- name: PROJECTS
pageRef: /projects
weight: 30
- name: ABOUT
pageRef: /about
weight: 30
- name: NOW
pageRef: /now
weight: 40

View File

@ -3,4 +3,4 @@ title: yequari.com
---
# hello
I'm yequari, welcome to my homepage! I write about tech, the web, programming, games, and random thoughts I have.
I'm yequari, welcome to my homepage! I am a software developer, interested in the small web and systems programming. My hobbies include games of all kinds, coding, and collecting Transformers figures. On this site I write about the web, programming, games, and random thoughts I have.

View File

@ -1,8 +0,0 @@
---
title: "Now"
date: 2023-04-17T15:00:46-07:00
---
<div id="content">
<h1>Now</h1>
Coming soon
</div>

13
content/now.md Normal file
View File

@ -0,0 +1,13 @@
---
title: "Now"
date: 2023-04-17T15:00:46-07:00
---
# Now
One day this page will pull some info from APIs to create a more interesting page but for now I just manually update it as needed.
**Games I'm playing**: Cyberpunk 2077, Honkai Star Rail, Baldur's Gate 3
**Shows I'm watching**: Nothing currently
**Music I'm listening to**: Kyuss, Tool, Cyberpunk 2077 Soundtrack, 100 gecs, King Crimson, breakcore

View File

@ -1,4 +1,6 @@
<p>Latest Blog Posts</p>
<h2>Latest Blog Posts</h2>
{{ range first 3 (where .Site.RegularPages.ByDate.Reverse "Section" "blog") }}
<p><a href="{{ .RelPermalink }}">{{ .Name }}</a></p>
<h3><a href="{{ .RelPermalink }}">{{ .Name }}</a></h3>
<p>{{ .Summary }}</p>
<a href="{{ .RelPermalink }}">Read More &gt;</a>
{{ end }}

View File

@ -10,7 +10,7 @@
</p>
{{ if .Truncated }}
<div>
<a href="{{ .RelPermalink }}">Read More...</a>
<a href="{{ .RelPermalink }}">Read More &gt;</a>
</div>
{{ end }}
</article>

View File

@ -1,6 +1,9 @@
{{ define "main" }}
<div id="content">
{{ .Content }}
{{ partial "left-sidebar.html" . }}
</div>
{{ .Content }}
<h2>Latest Blog Posts</h2>
{{ range first 3 (where .Site.RegularPages.ByDate.Reverse "Section" "blog") }}
<h3>{{ .Name }}</h3>
<p>{{ .Summary }}</p>
<a href="{{ .RelPermalink }}">Read More &gt;</a>
{{ end }}
{{ end }}

View File

@ -232,11 +232,9 @@ nav li a:hover, nav li a:active {
}
main {
flex: 1;
display: flex;
flex: 8 1;
background-color: var(--content-bg);
padding: 0 150px;
flex-flow: row wrap;
z-index: 1;
}
@ -253,10 +251,6 @@ main li {
line-height: 1;
}
.content {
flex: 8 1;
padding: 0 1rem;
}
article p {
text-indent: 1rem;