Closed Idadelveloper closed 3 years ago
Hello @Idadelveloper
Thanks for your contribution, It would be great if you add an option to the config.toml
file, so if anyone wants this feature, then he/she can enable it from the config file, otherwise, we don't want to add extra two scripts to slow down this theme loading time. thank you
@somratpro I added a new taxonomy for the download button in my config.toml
file.
eg downloadable = "downloadBtn"
When this downloadBtn
is added in the front matter of any of the content files, it will be displayed.
eg downloadBtn: "true"
Adding it to the archetypes and setting it to false by default be awesome.
What do you think?
thank you
This PR addresses #167 by @jwflory.