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

Create astro-paper.code-snippets #206

Merged
merged 3 commits into from Jan 3, 2024
Merged

Conversation

SSmale
Copy link
Contributor

@SSmale SSmale commented Dec 31, 2023

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
Copy link
Owner

satnaing commented Jan 2, 2024

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

@SSmale
Copy link
Contributor Author

SSmale commented Jan 2, 2024

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
Copy link
Owner

satnaing commented Jan 3, 2024

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
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.

None yet

2 participants