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

Req: config option to disable reading_time #12

Open
ncoleman opened this issue Jun 17, 2020 · 1 comment
Open

Req: config option to disable reading_time #12

ncoleman opened this issue Jun 17, 2020 · 1 comment

Comments

@ncoleman
Copy link

ncoleman commented Jun 17, 2020

Use case: Both my "About" and "Contact Me" pages have a reading_time entry which shows the date and the estimated reading time. This field carries over to the summary information on the home page. To me, it is unnecessary on those types of pages.

I would like to have the ability to turn off the field as a config option in a page. The macro itself is in zulma/templates/post_macros.html.

@betoissues
Copy link

@ncoleman you want to remove from every page, not only "About" and "Contact Me"?

You can achieve this with a simple if inside the template and adding the key in config.toml [extras], not sure if this is to be included in the theme. It's my first time checking the repo.

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

No branches or pull requests

2 participants