Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add last updated date to posts #2341

Merged
merged 3 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions _layouts/post.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ layout: default
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<p class="post-meta">
{{ page.date | date: '%B %d, %Y' }}
{% if page.author %}• {{ page.author }}{% endif %}
Created in {{ page.date | date: '%B %d, %Y' }}
{% if page.author %}by {{ page.author }}{% endif %}
{% if page.last_updated %}, last updated in {{ page.last_updated | date: '%B %d, %Y' }}{% endif %}
{% if page.meta %}• {{ page.meta }}{% endif %}
</p>
<p class="post-tags">
Expand Down
1 change: 1 addition & 0 deletions _posts/2024-01-27-vega-lite.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
layout: post
title: a post with vega lite
date: 2024-01-27 00:20:00
last_updated: 2024-04-14 04:30:00
description: this is what included vega lite code could look like
tags: formatting charts
categories: sample-posts
Expand Down