How can I add buttons to show/hide certain information? #4316
Unanswered
subhodeeps
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to implement an idea from the al-folio template in minimal-mistakes, viz., on the publication page, we can add custom buttons that will hide/show certain bibliographic details. See this link.
I have been able to partly implement it by copying and modifying some of the files in my repository , and you can see the end result here. But as you can see, the buttons are not working.
I will give a summary of changes I had made to minimal-mistakes:
jekyll-scholar
/_bibliography
folder_config.yml
_/inlcude/scripts.html
, these are some jQuery and bootstrap scripts copied from the relevant folder of the al-folio theme._layouts/bibtemplate.html
based on al-folio'sbib.html
file._pages/publications.md
_sass/minimal-mistakes/_pub.scss
, it is again taken from theal-folio
theme_sass/minimal-mistakes.scss
to importpub.scss
You can see the commits here
But I am unable to make it work completely. I think I am not able to implement the scripts correctly. I also don't have a lot of experience in web development and I would be grateful for any pointers/solutions that anyone can give me.
I think this will be a useful feature since many academics use this theme for their professional websites.
Beta Was this translation helpful? Give feedback.
All reactions