Skip to content

Commit

Permalink
feat: add thumbnails, edit home page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Veivel committed Jul 24, 2024
1 parent 133d438 commit ff7f530
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 24 deletions.
3 changes: 2 additions & 1 deletion scaffolds/post.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: {{ title }}
date: {{ date }}
tags:
categories:
thumbnail: /assets/thumbnails/default.jpg
---
1 change: 1 addition & 0 deletions source/_posts/Marinating-Thoughts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Marinating Thoughts
date: 2023-09-03 21:08:26
tags:
categories: philosophy
thumbnail: /assets/thumbnails/boil.jpg
---

I think it's important to have marinating thoughts. I'm not sure if that's an existing term, so to define it: "marinating thoughts" are thoughts of your mind that occur when you dedicate time to let yourself sit down quietly and allow your mind... to marinate. No phones, no gadgets, no music, no socializing, nothing – just you and your thoughts.
Expand Down
1 change: 1 addition & 0 deletions source/_posts/Passing-of-Time.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ date: 2024-07-03 21:11:58
tags:
categories: philosophy
published: true
thumbnail: /assets/thumbnails/hourglass.jpg
---

### As long as there is love, there will be grief.
Expand Down
1 change: 1 addition & 0 deletions source/_posts/Time-Travel.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Time Travel
date: 2023-07-30 18:38
tags:
categories: philosophy
thumbnail: /assets/thumbnails/timetravel.jpg
---

If future me walked through a portal and told me, "You can travel to the past ONCE, Veivel, to any point of your choosing in your past, to change the past and consequently your life," I'd shoot him in the head. Metaphorically. Unless I had a gun, in which case, literally.
Expand Down
1 change: 1 addition & 0 deletions source/_posts/business-as-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Busyness as Proxy for Productivity
date: 2023-07-11 16:53:00
tags: philosophy
thumbnail: /assets/thumbnails/work.jpg
---
> “Busyness as Proxy for Productivity: In the absence of clear indicators of what it means to be productive and valuable in their jobs, many knowledge workers turn back toward an industrial indicator of productivity: doing lots of stuff in a visible manner.” – Cal Newport, author of Deep Work
Expand Down
33 changes: 14 additions & 19 deletions themes/delicate/layout/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -12,48 +12,43 @@
<% } %>
</nav>
</header>
<div class="head-img">
<!-- <div class="head-img">
<%- image_tag('imgs/beach.jpg') %>
</div>
</div> -->
<article class="index-article">
<!-- <h1>Articles</h1> -->
<hr/>
<div class="article-list">
<% for (idx in page.posts.data) { %>
<% let post = page.posts.data[idx] %>
<% if(idx > 0) { %>
<hr>
<!-- <hr> -->
<% } %>
<div class="article-item">
<div class="article-item-title">
<h1>
<h2>
<a href="<%- url_for(post.path) %>">
<%= post.title %>
</a>
</h1>
<div class="info">
<% if (post.author) { %>
<span>
<%= post.author %> |
</span>
<% } %>
</h2>
<p class="date">
<% if (post.date) { %>
<span>
<%= post.date.format("YYYY/MM/DD") %>
</span>
<%= post.date.format("YYYY/MM/DD") %>
<% } %>
</div>
</p>
</div>
<div class="article-item-excerpt article">
<!-- <div class="article-item-excerpt article">
<div>
<%- post.excerpt || post.content %>
</div>
</div>
</div> -->
</div>
<div style="text-align: right;">
<!-- <div style="text-align: right;">
<button type="button" class="read-more">
<a href="<%- url_for(post.path) %>">Link to Article</a>
</button>
</div>
</div> -->
<% } %>
</div>

Expand Down
16 changes: 12 additions & 4 deletions themes/delicate/source/styles/index/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,24 @@ nav

.article-list
.article-item
margin 40px 0
// margin 40px 0
.article-item-title
margin: 0.2em 0
display flex
flex-direction row
// margin: 0.2em 0
width 100%
h1
margin 0
font-weight 600
font-size 2em
text-align center
.info
text-align center
width fit
h2
font-size 1em
font-weight 500
.date
text-align right
margin-left auto
color gray
font-size 0.8rem

Expand Down

0 comments on commit ff7f530

Please sign in to comment.