Skip to content

Commit f9f2019

Browse files
committed
2 parents ecec2f3 + e0adab7 commit f9f2019

7 files changed

+33
-20
lines changed

_includes/archive-single.html

+8-8
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ <h2 class="archive__item-title" itemprop="headline">
3939
{% endif %}
4040

4141
{% if post.venue %}
42-
<p>Published in <i>{{ post.venue }}</i>, {{ post.date | date '%Y' }} </p>
43-
{% endif %}
44-
45-
{% if post.paperurl %}
46-
<p>Download <a href=" {{ post.paperurl }} "><u>here</u></a></p>
42+
<p>Published in <i>{{ post.venue }}</i>, {{ post.date | date: "%Y" }} </p>
4743
{% endif %}
4844

4945
{% if post.excerpt %}
50-
<p class="archive__item-excerpt" itemprop="description">Description: {{ post.excerpt | markdownify }}</p>
46+
<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify }}</p>
5147
{% endif %}
5248

53-
{% if post.citation %}
54-
<p>Recommended citation: {{ post.citation }}</p>
49+
{% if post.citation and post.paperurl %}
50+
<p>Recommended citation: {{ post.citation }} <a href="{{ post.paperurl }}"><u>{{ post.paperurl }}</u></a></p>
51+
{% elsif post.citation %}
52+
<p>Recommended citation: {{ post.citation }} </p>
53+
{% elsif post.paperurl %}
54+
<p>Download <a href=" {{ post.paperurl }} "><u>here</u></a></p>
5555
{% endif %}
5656

5757
</article>

_includes/footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
</ul>
2222
</div>
2323

24-
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
24+
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://github.com/academicpages/academicpages.github.io">AcademicPages</a>, a fork of <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>

_pages/about.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ redirect_from:
1010

1111
This is the front page of your Github pages website!
1212

13-
You can use all kinds of markdown. See [the markdown guide](/markdown/).
13+
You can use all kinds of markdown. See [the guide](/markdown/).
14+
15+
## Images
16+
![alt text](/images/500x300.png "Logo Title Text 1")
17+

_pages/markdown.md

+16-7
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,22 @@ redirect_from:
77
- /markdown.html
88
---
99

10-
# Jekyll / theme guide
10+
## Locations of key files/directories
1111

1212
* Basic config options: _config.yml
1313
* Top navigation bar config: _data/navigation.yml
14-
*
15-
16-
# Tips and hints
14+
* Single pages: _pages/
15+
* Collections of pages are .md or .html files in:
16+
* _publications/
17+
* _portfolio/
18+
* _posts/
19+
* _teaching/
20+
* _talks/
21+
* Footer: _includes/footer.html
22+
* Static files (like PDFs): /files/
23+
* Profile image (can set in _config.yml): images/profile.png
24+
25+
## Tips and hints
1726

1827
* Name a file ".md" to have it render in markdown, name it ".html" to render in HTML.
1928
* Go to the [commit list](https://github.com/academicpages/academicpages.github.io/commits/master) (on your repo) to find the last version Github built with Jekyll.
@@ -22,10 +31,10 @@ redirect_from:
2231
* Red X: error
2332
* No icon: not built
2433

34+
## Resources
35+
* [Liquid syntax guide](https://shopify.github.io/liquid/tags/control-flow/)
2536

26-
# Markdown guide
27-
28-
## Header two
37+
## Markdown guide
2938

3039
### Header three
3140

_publications/2009-10-01-paper-title-number-1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ venue: "Journal 1"
66
excerpt: 'This paper is about the number 1. The number 2 is left for future work.'
77
date: 2009-10-01
88
paperurl: http://academicpages.github.io/files/paper1.pdf
9-
citation: 'Your Name, You. (2009). "Paper Title Number 1." <i>Journal 1</i>. 1(1). http://academicpages.github.io/files/paper1.pdf'
9+
citation: 'Your Name, You. (2009). "Paper Title Number 1." <i>Journal 1</i>. 1(1).'
1010
---

_publications/2010-10-01-paper-title-number-2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ venue: "Journal 1"
66
excerpt: 'This paper is about the number 2. The number 3 is left for future work.'
77
date: 2010-10-01
88
paperurl: http://academicpages.github.io/files/paper2.pdf
9-
citation: 'Your Name, You. (2010). "Paper Title Number 2." <i>Journal 1</i>. 1(2). http://academicpages.github.io/files/paper2.pdf'
9+
citation: 'Your Name, You. (2010). "Paper Title Number 2." <i>Journal 1</i>. 1(2).'
1010
---
1111

1212
This is where you put in an abstract, the full text of the paper, or both! This text will appear below some of the metadata. You can use markdown in this, like any posts.

_publications/2015-10-01-paper-title-number-3.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ venue: "Journal 1"
66
excerpt: 'This paper is about the number 3. The number 4 is left for future work.'
77
date: 2015-10-01
88
paperurl: http://academicpages.github.io/files/paper3.pdf
9-
citation: 'Your Name, You. (2015). "Paper Title Number 3." <i>Journal 1</i>. 1(3). http://academicpages.github.io/files/paper3.pdf'
9+
citation: 'Your Name, You. (2015). "Paper Title Number 3." <i>Journal 1</i>. 1(3).'
1010
---
1111

1212
This is where you put in an abstract, the full text of the paper, or both! This text will appear below some of the metadata. You can use markdown in this, like any posts.

0 commit comments

Comments
 (0)