forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request barryclark#2 from alshedivat/dev
Theme upgrade
- Loading branch information
Showing
84 changed files
with
2,109 additions
and
1,025 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
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 |
---|---|---|
@@ -1,34 +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. | ||
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 | ||
blog_description: a 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: | ||
|
@@ -38,9 +60,8 @@ collections: | |
projects: | ||
output: true | ||
permalink: /projects/:path/ | ||
poetry: | ||
output: true | ||
permalink: /poetry/:path/ | ||
|
||
news_limit: 5 | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Jekyll settings | ||
|
@@ -50,11 +71,6 @@ collections: | |
markdown: kramdown | ||
highlighter: pygments | ||
|
||
# Pagination | ||
paginate: 15 | ||
permalink: /blog/:year/:title/ | ||
paginate_path: /blog/page:num/ | ||
|
||
# Includes | ||
include: ['_pages'] | ||
|
||
|
@@ -89,8 +105,8 @@ scholar: | |
query: "@*" | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Other advanced settings (don't touch if you are not sure) | ||
# Other settings | ||
# ----------------------------------------------------------------------------- | ||
fontawesome_version: "4.6.3" | ||
jquery_version: "1.12.4" | ||
katex_version: "0.6.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,9 +1,11 @@ | ||
<footer class="site-footer"> | ||
<footer> | ||
|
||
<div class="wrapper"> | ||
<p class="small"> | ||
© Copyright {{ site.time | date: '%Y' }} {{ site.name }}. | ||
{{ site.footer_text }}</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
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
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
Oops, something went wrong.