From 794f29714ef6e00e00c087fa05fcea1d264257fd Mon Sep 17 00:00:00 2001 From: adrianj12 Date: Tue, 6 Aug 2024 00:57:58 -0600 Subject: [PATCH] try first post --- config/_default/menus.yaml | 5 ++++- content/_index.md | 29 +++++++++++++++++++++++++++++ content/post/first/index.md | 17 +++++++++++++++++ 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 content/post/first/index.md diff --git a/config/_default/menus.yaml b/config/_default/menus.yaml index 00f119a..694616f 100644 --- a/config/_default/menus.yaml +++ b/config/_default/menus.yaml @@ -13,6 +13,9 @@ main: - name: Experience url: /experience/ weight: 3 + - name: Posts + url: /post/ + weight: 4 - name: Contact url: /contact/ - weight: 4 + weight: 5 diff --git a/content/_index.md b/content/_index.md index 902594c..46b6d82 100644 --- a/content/_index.md +++ b/content/_index.md @@ -30,6 +30,35 @@ sections: size: cover position: center parallax: false + - block: collection + id: posts + content: + title: Recent Posts + subtitle: "Adrian's Blog" + text: '' + # Page type to display. E.g. post, talk, publication... + page_type: post + # Choose how many pages you would like to display (0 = all pages) + count: 5 + # Filter on criteria + filters: + author: "" + category: "" + tag: "" + exclude_featured: false + exclude_future: false + exclude_past: false + publication_type: "" + # Choose how many pages you would like to offset by + offset: 0 + # Page order: descending (desc) or ascending (asc) date. + order: desc + design: + # Choose a layout view + view: date-title-summary + # Reduce spacing + spacing: + padding: [0, 0, 0, 0] # - block: markdown # content: # title: '📚 My Research' diff --git a/content/post/first/index.md b/content/post/first/index.md new file mode 100644 index 0000000..c21916d --- /dev/null +++ b/content/post/first/index.md @@ -0,0 +1,17 @@ +--- +title: First post! +summary: My first ever blog post on this new site +date: 2024-08-06 + +--- +# Heading 1 + +## Testing... + +```c +printf("hello world!"); +``` + +1. one +1. two +1. three