forked from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b05f3a
commit 4bbccc3
Showing
8 changed files
with
117 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,56 @@ | ||
# ----------------------------------------------------------------------------- | ||
# Site settings | ||
# ----------------------------------------------------------------------------- | ||
|
||
name: Your Name | ||
email: [email protected] | ||
description: > # this means to ignore newlines until "url:" | ||
A simple, whitespace theme for academics. Based on [*folio](https://github.com/bogoli/-folio) design. | ||
last_updated: | ||
footer_text: > | ||
Powered by <a href="http://jekyllrb.com/" target="_blank">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio">al-folio</a> theme. | ||
Hosted by <a href="https://pages.github.com/" target="_blank">GitHub Pages</a>. | ||
Photos from <a href="https://unsplash.com" target="_blank">Unsplash</a>. | ||
url: # the base hostname & protocol for your site | ||
baseurl: /al-folio # the subpath of your site, e.g. /blog/ | ||
last_updated: # leave blank if you don't want to display last updated | ||
|
||
# Social | ||
# ----------------------------------------------------------------------------- | ||
# Social integration | ||
# ----------------------------------------------------------------------------- | ||
github_username: # put your github username | ||
twitter_username: # put your twitter username | ||
linkedin_username: # put your linkedin username | ||
scholar_authorid: # put your google scholar author id | ||
contact_note: > | ||
You can even add a little note about which of these is the best way to reach you. | ||
# Footer text | ||
footer_text: > | ||
Powered by <a href="http://jekyllrb.com/" target="_blank">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio">al-folio</a> theme. | ||
Hosted by <a href="https://pages.github.com/" target="_blank">GitHub Pages</a>. | ||
Photos from <a href="https://unsplash.com" target="_blank">Unsplash</a>. | ||
# ----------------------------------------------------------------------------- | ||
# Blog | ||
# ----------------------------------------------------------------------------- | ||
blog_name: al-folio | ||
blog_description: simple whitespace theme for academics | ||
|
||
# Pagination | ||
paginate: 4 | ||
permalink: /blog/:year/:title/ | ||
paginate_path: /blog/page:num/ | ||
|
||
text: | ||
pagination: | ||
newer: 'Newer' | ||
older: 'Older' | ||
|
||
# Comments | ||
disqus_shortname: al-folio # put your disqus shortname | ||
|
||
# Optional features | ||
show_social_icons: false | ||
enable_anchorjs: false | ||
enable_katex: true | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Collections | ||
# ----------------------------------------------------------------------------- | ||
collections: | ||
news: | ||
defaults: | ||
|
@@ -43,7 +64,6 @@ collections: | |
output: true | ||
permalink: /poetry/:path/ | ||
|
||
# Collection settings | ||
news_limit: 5 | ||
|
||
# ----------------------------------------------------------------------------- | ||
|
@@ -54,11 +74,6 @@ news_limit: 5 | |
markdown: kramdown | ||
highlighter: pygments | ||
|
||
# Pagination | ||
paginate: 15 | ||
permalink: /blog/:year/:title/ | ||
paginate_path: /blog/page:num/ | ||
|
||
# Includes | ||
include: ['_pages'] | ||
|
||
|
@@ -93,7 +108,8 @@ scholar: | |
query: "@*" | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Other advanced settings (don't touch if you are not sure) | ||
# Other settings | ||
# ----------------------------------------------------------------------------- | ||
jquery_version: "1.12.4" | ||
katex_version: "0.7.0" | ||
katex_version: "0.7.1" | ||
anchorjs_version: "3.2.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<footer class="site-footer"> | ||
<footer> | ||
|
||
<div class="wrapper"> | ||
<p class="small"> | ||
© Copyright {{ site.time | date: '%Y' }} {{ site.name }}. | ||
{{ site.footer_text }} | ||
{% if site.last_updated %} | ||
Last updated: {{ site.last_updated }}. | ||
{% endif %} | ||
</p> | ||
© Copyright {{ site.time | date: '%Y' }} {{ site.name }}. | ||
{{ site.footer_text }} | ||
{% if site.last_updated %} | ||
Last updated: {{ site.last_updated }}. | ||
{% endif %} | ||
</div> | ||
|
||
</footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{% if paginator.total_pages != 1 %} | ||
<div class="pagination clearfix mb1 mt4"> | ||
<div class="left"> | ||
{% if paginator.previous_page %} | ||
{% if paginator.page == 2 %} | ||
<a class="pagination-item" href="{{ site.baseurl }}/blog/">{{ site.text.pagination.newer }}</a> | ||
{% else %} | ||
<a class="pagination-item" href="{{ paginator.previous_page_path | prepend: site.baseurl }}">{{ site.text.pagination.newer }}</a> | ||
{% endif %} | ||
{% else %} | ||
<span class="pagination-item disabled">{{ site.text.pagination.newer }}</span> | ||
{% endif %} | ||
</div> | ||
<div class="right"> | ||
{% if paginator.next_page %} | ||
<a class="pagination-item" href="{{ paginator.next_page_path | prepend: site.baseurl }}">{{ site.text.pagination.older }}</a> | ||
{% else %} | ||
<span class="pagination-item disabled">{{ site.text.pagination.older }}</span> | ||
{% endif %} | ||
</div> | ||
<div class="pagination-meta">Page {{ paginator.page }} of {{ paginator.total_pages }}</div> | ||
</div> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters