Skip to content

Create astro-paper.code-snippets - #206

Merged
satnaing merged 3 commits into
satnaing:astro-paper-v4from
SSmale:patch-1
Jan 3, 2024
Merged

satnaing merged 3 commits into
satnaing:astro-paper-v4from
SSmale:patch-1

Conversation

@SSmale

@SSmale SSmale commented Dec 31, 2023

Copy link
Copy Markdown
Contributor

This is a custom snippet that adds the frontamtter and a template to the markdown pages. this includes a pre-formatted date to answer part of the question in #199.

Screen.Recording.2023-12-31.at.09.30.27.mov

this is needed to allow the snippet to work with a blank date time, and is a precursor of adding in a modified date time setting hook
@satnaing

satnaing commented Jan 2, 2024

Copy link
Copy Markdown
Owner

Cool!
Just one thing. Don't you think featured and draft should be false by default? Just my thought!

@SSmale

SSmale commented Jan 2, 2024

Copy link
Copy Markdown
Contributor Author

Featured I can see, but draft is true so you don't accidentally post something you are working on if you move quickly

@satnaing
satnaing changed the base branch from main to astro-paper-v4 January 3, 2024 09:54
@satnaing
satnaing merged commit bb2f290 into satnaing:astro-paper-v4 Jan 3, 2024
@satnaing

satnaing commented Jan 3, 2024

Copy link
Copy Markdown
Owner

Just merged this into v4 branch.
Thanks for your contribution @SSmale

satnaing pushed a commit that referenced this pull request Jan 4, 2024
* Create astro-paper.code-snippets

* feat: allow nullable modDatetime

this is needed to allow the snippet to work with a blank date time, and is a precursor of adding in a modified date time setting hook

* Update astro-paper.code-snippets to make feat false by default
Stark-X added a commit to Stark-X/my-astro-blog that referenced this pull request Jan 6, 2024
qwaxgo pushed a commit to qwaxgo/qwaxgo-astro-template that referenced this pull request Apr 29, 2025
* Create astro-paper.code-snippets

* feat: allow nullable modDatetime

this is needed to allow the snippet to work with a blank date time, and is a precursor of adding in a modified date time setting hook

* Update astro-paper.code-snippets to make feat false by default
saga pushed a commit to devweekly/devweekly.github.io that referenced this pull request Jul 24, 2026
* Create astro-paper.code-snippets

* feat: allow nullable modDatetime

this is needed to allow the snippet to work with a blank date time, and is a precursor of adding in a modified date time setting hook

* Update astro-paper.code-snippets to make feat false by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants