-
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.
- Loading branch information
0 parents
commit c00aadb
Showing
24 changed files
with
778 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
_site/ | ||
.DS_Store |
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,18 @@ | ||
--- | ||
title: Limbo | ||
--- | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
{% include head.html %} | ||
</head> | ||
<body> | ||
<div class="container not-found"> | ||
<h1 class="bounceInDown animated">404</h1> | ||
<p> | ||
Did You steal the content from me? No?! Well, somebody did, and you're the only one here. | ||
</p> | ||
</div> | ||
</body> | ||
</html> |
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,20 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2013 Aigars | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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,42 @@ | ||
# brume | ||
|
||
I am not a designer so I cannot impress you with breathtaking Jekyll themes, but brume is something that just came to my mind and I had to build it. It is a clean and simple theme, which has an index page that lists all your blog posts divided by year and an about page. brume uses redcarpet as the Markdown processor with strikethrough extension enabled by default (so you can use ~~ to strike out words). | ||
|
||
This is how the "Home" page looks like. | ||
|
||
 | ||
|
||
And this is a single post. | ||
|
||
 | ||
|
||
## Usage | ||
|
||
**Important:** The latest version of brume uses `site.baseurl` for links, therefore, if you want to put your site in a subdirectory, update the *_config.yml* file! | ||
|
||
- Download the ZIP file and extract it's contents. | ||
- Open *_config.yml* file and enter your site's URL and add additional configuration or update the existing one if needed. | ||
- Open *_data/brume.yml* file and fill in values for site name (site title), author (your name) and description (blog description). This file contains all the custom information about your page. You can access it using `site.data.brume` object. | ||
- Open *about/index.md* file and add information about you or your site. You can delete this file and directory if not needed. | ||
- Open *_data/links.yml* and add additional links or update the existing ones that you want to be displayed in the navigation menu. | ||
- If you don't want to use CC BY-NC 4.0 licence for the content, then you should change the footer text, which is located in *_layouts/default.html*. | ||
- Generate your site and be happy! | ||
|
||
### Jekyll < 2.0.0 | ||
|
||
I try to keep brume up to date with the newest Jekyll version. Jekyll 2.0.0 introduced a lot of changes (like a built in Sass support) that are not backward compatible, therefore I have created a separate branch `legacy` for those, who might be using an older Jekyll version. All the changes that I introduce in `master` will be ported to `legacy`. | ||
|
||
## Theme customization | ||
|
||
This theme has 4 predefined colors that can be used for links: | ||
|
||
- azul | ||
- ruby | ||
- amber | ||
- avocado | ||
|
||
 | ||
|
||
By default it uses *azure*, but if you want to select another one just change the second class of `container` div in *_layouts/default.html* to one of the provided names. | ||
|
||
Express your thoughts about brume on Twitter [@aigarsdz](http://twitter.com/aigarsdz), and help me make it better! |
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,13 @@ | ||
markdown: redcarpet | ||
highlighter: pygments | ||
permalink: /:title | ||
|
||
url: "http://localhost:4000" | ||
baseurl: "" | ||
|
||
redcarpet: | ||
extensions: [strikethrough, tables] | ||
|
||
sass: | ||
sass_dir: public/css | ||
style: :compressed |
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,3 @@ | ||
name: Alireza's blog | ||
author: Alireza Kheirkhahan | ||
description: It's blog about C++, High Performance Computing and stuff. |
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,5 @@ | ||
- url: / | ||
title: Home | ||
|
||
- url: /about | ||
title: About |
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,31 @@ | ||
<!-- meta information --> | ||
<meta charset="utf-8"> | ||
<meta name="description" {% if page.title == "Home" %} | ||
content="{{ site.data.brume.description }}" {% else %} | ||
content="{{ page.content | strip_html | strip_newlines | truncate: 120 }}" {% endif %}> | ||
<meta name="author" content="{{ site.data.brume.author }}"> | ||
|
||
<!-- Enable responsiveness on mobile devices--> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> | ||
|
||
<!-- title --> | ||
<title>{{ page.title }} · {{ site.data.brume.name }}</title> | ||
|
||
<!-- icons --> | ||
<link rel="shortcut icon" href="{{site.baseurl}}/public/images/favicon.ico" /> | ||
|
||
<!-- stylesheets --> | ||
<link rel="stylesheet" href="{{site.baseurl}}/public/css/responsive.gs.12col.css"> | ||
<link rel="stylesheet" href="{{site.baseurl}}/public/css/animate.min.css"> | ||
<link rel="stylesheet" href="{{site.baseurl}}/public/css/main.css"> | ||
|
||
<!-- Google fonts --> | ||
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic&subset=latin-ext"> | ||
|
||
{% if site.paginate %} | ||
<!-- font Awesome --> | ||
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> | ||
{% endif %} | ||
|
||
<!-- feed links --> | ||
<link rel="alternate" href="{{ site.url }}{{ site.baseurl }}/feed.xml" type="application/rss+xml" title="{{ site.name }}"> |
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,6 @@ | ||
<nav class="col span_10 top-navbar"> | ||
{% for link in site.data.links %} | ||
<a href="{{ link.url }}" title="{{ link.title }}" | ||
{% if page.title == link.title %}class="current-page"{% endif %}>{{ link.title }}</a> | ||
{% endfor %} | ||
</nav> |
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,35 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
{% include head.html %} | ||
</head> | ||
<body> | ||
<div class="container azul"> | ||
<header class="top row gutters{% if page.title == "Home" %} fadeInLeft animated{% endif %}"> | ||
<div class="col span_2 center"> | ||
<!-- TODO: add baseurl to the logo link --> | ||
<a href="{{ site.url }}" id="logo" title="{{ site.data.brume.name }}" | ||
style="background-image: url({{site.baseurl}}/public/images/logo.png);"></a> | ||
</div> | ||
{% include navigation.html %} | ||
</header> | ||
|
||
{{ content }} | ||
|
||
<footer> | ||
<p> | ||
This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/deed.en_US">Creative Commons Attribution-NonCommercial 4.0 International License</a>. | ||
</p> | ||
</footer> | ||
</div> | ||
|
||
<!-- scripts --> | ||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | ||
<script src="{{site.baseurl}}/public/js/jquery.fitvids.js"></script> | ||
<script> | ||
$(document).ready(function(){ | ||
$("article").fitVids(); | ||
}); | ||
</script> | ||
</body> | ||
</html> |
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,9 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<article class="single row gutters"> | ||
<h2>{{ page.title }}</h2> | ||
|
||
{{ content }} | ||
</article> |
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,10 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
<article class="single row gutters"> | ||
<time class="published" datetime="{{ page.date | date: '%Y-%m-%d' }}">{{ page.date | date_to_long_string }}</time> | ||
<h2>{{ page.title }}</h2> | ||
|
||
{{ content }} | ||
</article> |
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,6 @@ | ||
--- | ||
layout: page | ||
title: About | ||
--- | ||
|
||
I am a PhD stutent at Department of Computer Science, Louisiana State University and a research assisstant at Center for Computation and Technology. |
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,25 @@ | ||
--- | ||
--- | ||
<?xml version="1.0"?> | ||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> | ||
<channel> | ||
<title>{{ site.data.brume.name }}</title> | ||
<link>{{ site.url }}</link> | ||
<atom:link href="{{ site.url }}{{ site.baseurl }}/feed.xml" rel="self" type="application/rss+xml" /> | ||
<description>{{ site.data.brume.description }}</description> | ||
<language>en-us</language> | ||
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate> | ||
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate> | ||
|
||
{% for post in site.posts limit: 10 %} | ||
<item> | ||
<title>{{ post.title }}</title> | ||
<link>{{ site.url }}{{ site.baseurl }}{{ post.url }}</link> | ||
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate> | ||
<author>{{ site.data.brume.author}}</author> | ||
<description>{{ post.content | xml_escape }}</description> | ||
</item> | ||
{% endfor %} | ||
|
||
</channel> | ||
</rss> |
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,39 @@ | ||
--- | ||
layout: default | ||
title: Home | ||
--- | ||
|
||
<section class="archive"> | ||
{% for post in site.posts %} | ||
{% unless post.next %} | ||
|
||
{% unless forloop.first %}</div></div>{% endunless %} | ||
|
||
<div class="bundle row gutters fadeInDown animated"> | ||
<h2 class="post-year col span_2">{{ post.date | date: '%Y' }}</h2> | ||
<div class="posts-by-year col span_10"> | ||
|
||
{% else %} | ||
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} | ||
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} | ||
{% if year != nyear %} | ||
|
||
{% unless forloop.first %}</div></div>{% endunless %} | ||
|
||
<div class="bundle row gutters fadeInDown animated"> | ||
<h2 class="post-year col span_2">{{ post.date | date: '%Y' }}</h2> | ||
<div class="posts-by-year col span_10"> | ||
{% endif %} | ||
{% endunless %} | ||
|
||
<article class="row gutters"> | ||
<a href="{{ site.baseurl }}{{ post.url }}" title="{{ post.title }}" class="col span_8">{{ post.title }}</a> | ||
<div class="post-date col span_4"> | ||
<time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: "%-d %B" }}</time> | ||
</div> | ||
</article> | ||
|
||
{% if forloop.last %}</div></div>{% endif %} | ||
|
||
{% endfor %} | ||
</section> |
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,68 @@ | ||
.highlight .c { color: #c2b680; background-color: #272822 } /* Comment */ | ||
.highlight .err { color: #dcdccc; background-color: #272822 } /* Error */ | ||
.highlight .g { color: #dcdccc; background-color: #272822 } /* Generic */ | ||
.highlight .k { color: #ff6651; font-weight: bold } /* Keyword */ | ||
.highlight .l { color: #dcdccc; background-color: #272822 } /* Literal */ | ||
.highlight .n { color: #dcdccc; background-color: #272822 } /* Name */ | ||
.highlight .o { color: #dcdccc; background-color: #272822 } /* Operator */ | ||
.highlight .x { color: #dcdccc; background-color: #272822 } /* Other */ | ||
.highlight .p { color: #dcdccc; background-color: #272822 } /* Punctuation */ | ||
.highlight .cm { color: #c2b680; background-color: #272822 } /* Comment.Multiline */ | ||
.highlight .cp { color: #c2aed0; background-color: #272822 } /* Comment.Preproc */ | ||
.highlight .c1 { color: #75715e; background-color: #272822 } /* Comment.Single */ | ||
.highlight .cs { color: #c2b680; background-color: #272822 } /* Comment.Special */ | ||
.highlight .gd { color: #dcdccc; background-color: #8b0000 } /* Generic.Deleted */ | ||
.highlight .ge { color: #d4b064; text-decoration: underline; background-color: #272822 } /* Generic.Emph */ | ||
.highlight .gr { color: #f07070; background-color: #272822 } /* Generic.Error */ | ||
.highlight .gh { color: #f7f7f1; font-weight: bold; background-color: #000000 } /* Generic.Heading */ | ||
.highlight .gi { color: #dcdccc; background-color: #008b00 } /* Generic.Inserted */ | ||
.highlight .go { color: #9f8f80; font-weight: bold; background-color: #272822 } /* Generic.Output */ | ||
.highlight .gp { color: #dcdccc; background-color: #272822 } /* Generic.Prompt */ | ||
.highlight .gs { color: #dcdccc; background-color: #272822 } /* Generic.Strong */ | ||
.highlight .gu { color: #f7f7f1; font-weight: bold; background-color: #000000 } /* Generic.Subheading */ | ||
.highlight .gt { color: #f07070; font-weight: bold; background-color: #272822 } /* Generic.Traceback */ | ||
.highlight .kc { color: #e0af91; font-weight: bold; background-color: #272822 } /* Keyword.Constant */ | ||
.highlight .kd { color: #77d8eb; font-weight: bold; background-color: #272822 } /* Keyword.Declaration */ | ||
.highlight .kn { color: #e0af91; font-weight: bold; background-color: #272822 } /* Keyword.Namespace */ | ||
.highlight .kp { color: #e0af91; font-weight: bold; background-color: #272822 } /* Keyword.Pseudo */ | ||
.highlight .kr { color: #e0af91; font-weight: bold; background-color: #272822 } /* Keyword.Reserved */ | ||
.highlight .kt { color: #dabfa5; font-weight: bold; background-color: #272822 } /* Keyword.Type */ | ||
.highlight .ld { color: #dcdccc; background-color: #272822 } /* Literal.Date */ | ||
.highlight .m { color: #dcdccc; background-color: #272822 } /* Literal.Number */ | ||
.highlight .s { color: #e6db6f } /* Literal.String */ | ||
.highlight .na { color: #b5df5e; } /* Name.Attribute */ | ||
.highlight .nb { color: #dcdccc; } /* Name.Builtin */ | ||
.highlight .nc { color: #dcdccc; background-color: #272822 } /* Name.Class */ | ||
.highlight .no { color: #afe091; background-color: #272822 } /* Name.Constant */ | ||
.highlight .nd { color: #dcdccc; background-color: #272822 } /* Name.Decorator */ | ||
.highlight .ni { color: #d4b064; background-color: #272822 } /* Name.Entity */ | ||
.highlight .ne { color: #dcdccc; background-color: #272822 } /* Name.Exception */ | ||
.highlight .nf { color: #dcdccc; background-color: #272822 } /* Name.Function */ | ||
.highlight .nl { color: #dcdccc; background-color: #272822 } /* Name.Label */ | ||
.highlight .nn { color: #dcdccc; background-color: #272822 } /* Name.Namespace */ | ||
.highlight .nx { color: #ff6651; background-color: #272822 } /* Name.Other */ | ||
.highlight .py { color: #dcdccc; background-color: #272822 } /* Name.Property */ | ||
.highlight .nt { color: #ff6651; font-weight: bold } /* Name.Tag */ | ||
.highlight .nv { color: #ff6651; background-color: #272822 } /* Name.Variable */ | ||
.highlight .ow { color: #dcdccc; background-color: #272822 } /* Operator.Word */ | ||
.highlight .w { color: #dcdccc; background-color: #272822 } /* Text.Whitespace */ | ||
.highlight .mf { color: #c2a4f8; background-color: #272822 } /* Literal.Number.Float */ | ||
.highlight .mh { color: #dcdccc; background-color: #272822 } /* Literal.Number.Hex */ | ||
.highlight .mi { color: #c2a4f8; background-color: #272822 } /* Literal.Number.Integer */ | ||
.highlight .mo { color: #dcdccc; background-color: #272822 } /* Literal.Number.Oct */ | ||
.highlight .sb { color: #dcdccc; background-color: #272822 } /* Literal.String.Backtick */ | ||
.highlight .sc { color: #dcdccc; background-color: #272822 } /* Literal.String.Char */ | ||
.highlight .sd { color: #dcdccc; background-color: #272822 } /* Literal.String.Doc */ | ||
.highlight .s2 { color: #e6db6f; background-color: #272822 } /* Literal.String.Double */ | ||
.highlight .se { color: #dcdccc; background-color: #272822 } /* Literal.String.Escape */ | ||
.highlight .sh { color: #dcdccc; background-color: #272822 } /* Literal.String.Heredoc */ | ||
.highlight .si { color: #dcdccc; background-color: #272822 } /* Literal.String.Interpol */ | ||
.highlight .sx { color: #dcdccc; background-color: #272822 } /* Literal.String.Other */ | ||
.highlight .sr { color: #e6db6f; background-color: #272822 } /* Literal.String.Regex */ | ||
.highlight .s1 { color: #dcdccc; background-color: #272822 } /* Literal.String.Single */ | ||
.highlight .ss { color: #e6db6f; background-color: #272822 } /* Literal.String.Symbol */ | ||
.highlight .bp { color: #dcdccc; background-color: #272822 } /* Name.Builtin.Pseudo */ | ||
.highlight .vc { color: #dabfa5; background-color: #272822 } /* Name.Variable.Class */ | ||
.highlight .vg { color: #dabfa5; background-color: #272822 } /* Name.Variable.Global */ | ||
.highlight .vi { color: #dabfa5; background-color: #272822 } /* Name.Variable.Instance */ | ||
.highlight .il { color: #dcdccc; background-color: #272822 } /* Literal.Number.Integer.Long */ |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.