-
Notifications
You must be signed in to change notification settings - Fork 189
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
Enable summary for the post in blog #73
Comments
oh yes I was thinking about this too. I don't mind adding an option to expose the summary, let me try that. |
Hey @aldrineeinsteen ! Thanks for your interest in this theme. Hugo themes are overridable, meaning Hugo will look at your project files to resolve a layout before it looks into the theme's files. If you installed the theme following the From there you can inject a summary to each post. EDIT: @kentnek, do you think it would be better to add this as a configurable option? This is a design decision, and honestly I don't have a preference. Since @aldrineeinsteen is the first to bring this to our attention, maybe it's not something we need to expose just yet, but can support on a one off basis. |
@jakewies oh yes it should be configurable, as I don't want to force that on other people either 😂 I actually had that in mind earlier as some of my blog posts already have the |
Good idea. How do you envision the configuration for this looking? I think we could separate the # config.toml
[params]
# ... site params
# ... blog params
[blog]
showSummary = true This is just the first idea that came to my noggin. What do you think? Do you have another solution? |
Also, @aldrineeinsteen are you looking to have each blog post's description in the list template? The description of a blog post is defined in each post's |
@jakewies no he wanted to show Hugo's Content Summaries, which is defined in I actually wanted to make |
@kentnek ok cool I didn't know this was an option. I just tested it out, and the Rich Content example post outputs some wonky text because it uses shortcodes. From first glance it looks like the |
Hmm then I guess we can add in the |
I haven't thought of exposing the same as a configuration; i have pushed a code to display the summary by default along with pagination: |
Yes, when started adding summary found the pagination was missing, i have added the same in #75 |
- enabling summary params variable
Added support for configuration in #75 |
…mmary params variable" This reverts commit 00aff75
This reverts commit ec69a7c
- updating the configuration from params.blog to params - documentation has been added to enable configuration of summary for blogs Closes jakewies#73
Enable summary into the posts of every blog
The blog post looks odd without any summary.
The text was updated successfully, but these errors were encountered: