From 1d0e589620bc86acdc830f44b3aaa8652f3701a8 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Tue, 14 Jan 2014 15:28:29 +0400 Subject: [PATCH] try to apply jekyll + added paper --- .gitignore | 4 + LICENSE | 5 + _config.yml | 2 + .../temp_paper.html => _layouts/paper.html | 27 +- .../project.html | 0 _posts/2014-01-14-about-zshrc.markdown | 409 ++++++++++++++++++ authors.html | 4 +- blog/2014-01-14-about-zshrc.html | 146 ------- blog/index.html | 22 +- index.html | 2 +- resources/preview/zshrc_demo_prev.jpg | Bin 0 -> 5207 bytes resources/screenshots/zshrc_demo.png | Bin 0 -> 117188 bytes stylesheets/styles.css | 14 + 13 files changed, 471 insertions(+), 164 deletions(-) create mode 100644 .gitignore create mode 100644 _config.yml rename templates/temp_paper.html => _layouts/paper.html (78%) rename templates/temp_project.html => _layouts/project.html (100%) create mode 100644 _posts/2014-01-14-about-zshrc.markdown delete mode 100644 blog/2014-01-14-about-zshrc.html create mode 100644 resources/preview/zshrc_demo_prev.jpg create mode 100644 resources/screenshots/zshrc_demo.png diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..87403e9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +_drafts/ +_site/ +Gemfile +Gemfile.lock diff --git a/LICENSE b/LICENSE index 32757ef..62a23fd 100644 --- a/LICENSE +++ b/LICENSE @@ -21,6 +21,11 @@ and licensed under MIT license: http://opensource.org/licenses/MIT +This site uses [Jekyll](http://jekyllrb.com/) that licensed under MIT License: + +http://opensource.org/licenses/MIT + + Google custom search is licensed under own custom license: https://support.google.com/customsearch/answer/1714300 diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..a29c3d0 --- /dev/null +++ b/_config.yml @@ -0,0 +1,2 @@ +markdown: rdiscount +pygments: true diff --git a/templates/temp_paper.html b/_layouts/paper.html similarity index 78% rename from templates/temp_paper.html rename to _layouts/paper.html index 313aae3..6b2a739 100644 --- a/templates/temp_paper.html +++ b/_layouts/paper.html @@ -3,7 +3,7 @@ - $PAPER_NAME + {{ page.title }} @@ -25,20 +25,19 @@
-

$PAPER_NAME

-

$(LANG=en_GB.UTF-8 date --utc +"%d %b %H:%M %Y")
- Last edit: $(LANG=en_GB.UTF-8 date --utc +"%d %b %H:%M %Y")

-

#tag1 - #tag2 - #tag3

+

{{ page.title }}

+

{{ page.date | date_to_string }}
+ Last edit: {{ page.last | date_to_string }}

+

Tags: {% for tag in page.tags %} + {{ tag }} + {% endfor %}

-

$PAPER_NAME

-

$INTRO_TEXT test

+ +

{{ page.description }}

-

$SUBTITLE

-

$SUB_TEXT

+{{ content }} @@ -54,7 +53,7 @@

Comments

- - - - - - -
-
-

About zshrc

-

13 Jan 22:02 2014
- Last edit: 13 Jan 22:02 2014

-

#tag1 - #tag2 - #tag3

-
-
- -

About zshrc

-

It is first paper in my blog (I think I need something here for tests =)). There are many similar articles, and I'll not be an exception. I just want to show my .zshrc and explain what it does and why it is needed. Also any comments or additions are welcome. It is a translated paper from Russian (original).

- -

Prepare

-

First install recommended minima:

-
pacman -Sy pkgfile zsh zsh-completions zsh-syntax-highlighting
-

pkgfile is a very useful utility. Alo this command will install shell, additional completion and syntax highlighting.

-
pacman -Sy pkgfile zsh zsh-completions zsh-syntax-highlighting
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-f
-
-f
-f
-f
-f
-f
-f
-f
-f
-f
-
-f
-f
-f
-f
-
-f
-f
- - - - -
-

Comments

- -
- - - -
- -
- - - - diff --git a/blog/index.html b/blog/index.html index 1a27dc7..a5ef8ea 100644 --- a/blog/index.html +++ b/blog/index.html @@ -1,3 +1,14 @@ +--- +posts: + - title: About zshrc + date: 14 January 2014 + last: 14 January 2014 + tags: + - zshrc + - configuration + - linux +--- + @@ -23,9 +34,16 @@
-

title

-

Когда-нибудь здесь будет что-нибудь. Может быть даже интересеное.

+ {% for post in site.posts %} +

{{ post.title }}

+

{{ post.date | date_to_string}}

+

{{ post.description }}

+

Tags: {% for tag in post.tags %} + {{ tag }} + {% endfor %}

+ {% endfor %} +