Wowchemy-hugo-modules: publication: add bibtex option to publication links

Created on 11 Oct 2017  路  8Comments  路  Source: wowchemy/wowchemy-hugo-modules

enhancement

Most helpful comment

Is there a simple way to remove the cite button altogether? I have removed the citation files but the button remains. I've searched through the .md files but so far seem to be missing a way to set that to false.

All 8 comments

Done, thanks for the suggestion 馃槃

A 'Cite' button will be automatically generated when a Bibtex file, such as my-paper.bib, is placed in static/files/citations/ folder. Note that the Bibtex filename should match the name of your publication Markdown file in content/publication/, such that you may have content/publication/**my-paper**.md and static/files/citations/**my-paper**.bib.

Refer to the latest demo (https://sourcethemes.com/academic/) and example site code (https://github.com/gcushen/hugo-academic/tree/master/exampleSite) for an example.

If using a non-English translation, you may need to update the translation file in themes/academic/i18n/ as new language items have been added: https://github.com/gcushen/hugo-academic/commit/3d4884a9f045a5895746e5bca694ec230574fcf2#diff-916a95a0463ea1bd7c2d26bd73fbc9b2 .

Thanks for the enhancement!

Hi,
This seems to be broken in the current version.
On the demo website, clicking on "cite" gives a 404 error.

@hogtave thanks for reporting this. However, the code is not broken. The demo website is not hosted by us, it is hosted by Hugo team - and they may not have uploaded the citation file for security reasons, leading to the error in their demo of Academic.

@gcushen, ah it is indeed working perfectly when hosting the demo website locally. Sorry for the false bug report.

Is there a simple way to remove the cite button altogether? I have removed the citation files but the button remains. I've searched through the .md files but so far seem to be missing a way to set that to false.

Is there a way to change the text of "cite" button from "cite" to "Bibtex" or something else?

Is there a way to change the text of "cite" button from "cite" to "Bibtex" or something else?

You can modify the language pack

Was this page helpful?
0 / 5 - 0 ratings

Related issues

henningninneh picture henningninneh  路  3Comments

eduardohenriquearnold picture eduardohenriquearnold  路  4Comments

HughP picture HughP  路  4Comments

saadjavaid picture saadjavaid  路  3Comments

petzi53 picture petzi53  路  4Comments