-
Notifications
You must be signed in to change notification settings - Fork 5
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
optimize rmarkdown template #30
Conversation
(and thank you!!) |
hmmm, the R CMD Check failed because of |
output: hugodown::md_document | ||
status: "publish" | ||
slug: "the-post-slug" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wait should this be kept? the users could still want to choose their own slug?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be default we will handle slug
in wp_post()
but users can still overwrite it if they manually provide slug
in the YAML header. However, slug
is not shown in the default template. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry for the delay, I think I'd like to keep it in the template because folks might wonder how to add it?
Hmmm, if we keep it in the header, people can either change it or delete
it? In that case, I'm afraid they would never know we can handle it by
default in `wp_post()` . Instead they would most likely choose to change
slugs manually every time. What do you think?
…On Thu, Nov 26, 2020, 9:26 AM Maëlle Salmon ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In inst/rmarkdown/templates/template-name/skeleton/skeleton.Rmd
<#30 (comment)>:
> output: hugodown::md_document
status: "publish"
-slug: "the-post-slug"
sorry for the delay, I think I'd like to keep it in the template because
folks might wonder how to add it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#30 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE7BXKB26R4PD2DQ5OSJHX3SRYGMVANCNFSM4TONXG6Q>
.
|
ok then! :-) |
Optimized the rmarkdown template for writing post to save my life.