How to add 'Github repo' link in publications? #2311
Unanswered
dherrera1911
asked this question in
Q&A
Replies: 1 comment
-
This requires you to modify the template a bit. For the Markdown pages for the publications you would need to add the following: ---
title: "Your Publication title"
# Omitting the other existing entries
repository: '[http://](/~https://github.com/academicpages/academicpages.github.io)'
--- Then under {% if post.repository %}
<a href="{{ post.repository }}">GitHub Repository</a>
{% endif %} It can take a bit of effort to get things styled nicely, but I did something similar for my site to include a link to download papers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For my publications, I often have a Github repo associated that I would like to display in the publications list, like the link 'Slides' or 'Download paper' do. I'm trying to figure out by looking at the markdown_generator/ contents how I could either add a tab named 'Github repo' linking to a 'githuburl' defined in the publications yaml files, or to change the name of 'Slides' into Github repo, but I can't figure this out.
Beta Was this translation helpful? Give feedback.
All reactions