Skip to content

Conversation

@tonyfast
Copy link
Contributor

@tonyfast tonyfast commented Apr 2, 2015

Add a include for references at the end of the page.

Activate references.html

Placed {% include references.html %} into a template in your jekyll site. Then use either an array or object to create the list in a post or page.

Array

references: # this is the trigger
- http://a.com
- http://b.com

then they are referenced as {{references[0]}}.and {{references[0]}}

Object

references: # this is the trigger
  pubmed: http://a.com
  natgeo: http://b.com

then they are referenced as {{references.pubmed}}.and {{references.natgeo}}

davidbrough1 added a commit that referenced this pull request Apr 15, 2015
@davidbrough1 davidbrough1 merged commit 45d9508 into projectpages:gh-pages Apr 15, 2015
@davidbrough1
Copy link
Contributor

@tonyfast sorry it took me so long to get to this. Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants