File tree Expand file tree Collapse file tree 10 files changed +198
-7
lines changed Expand file tree Collapse file tree 10 files changed +198
-7
lines changed Original file line number Diff line number Diff line change 1+ source 'https://rubygems.org'
2+ gem 'jemoji'
3+ gem 'jekyll-redirect-from'
4+ gem 'jekyll-archives'
5+ gem 'jekyll-paginate'
6+
7+ gem 'wdm' , '>= 0.1.0' if Gem . win_platform?
Original file line number Diff line number Diff line change 1+ GEM
2+ remote: https://rubygems.org/
3+ specs:
4+ activesupport (4.2.5 )
5+ i18n (~> 0.7 )
6+ json (~> 1.7 , >= 1.7.7 )
7+ minitest (~> 5.1 )
8+ thread_safe (~> 0.3 , >= 0.3.4 )
9+ tzinfo (~> 1.1 )
10+ colorator (0.1 )
11+ ffi (1.9.10-x64-mingw32 )
12+ gemoji (2.1.0 )
13+ html-pipeline (2.2.2 )
14+ activesupport (>= 2 , < 5 )
15+ nokogiri (>= 1.4 )
16+ i18n (0.7.0 )
17+ jekyll (3.0.1 )
18+ colorator (~> 0.1 )
19+ jekyll-sass-converter (~> 1.0 )
20+ jekyll-watch (~> 1.1 )
21+ kramdown (~> 1.3 )
22+ liquid (~> 3.0 )
23+ mercenary (~> 0.3.3 )
24+ rouge (~> 1.7 )
25+ safe_yaml (~> 1.0 )
26+ jekyll-archives (2.1.0 )
27+ jekyll (>= 2.4 )
28+ jekyll-paginate (1.1.0 )
29+ jekyll-redirect-from (0.9.0 )
30+ jekyll (>= 2.0 )
31+ jekyll-sass-converter (1.3.0 )
32+ sass (~> 3.2 )
33+ jekyll-watch (1.3.0 )
34+ listen (~> 3.0 )
35+ jemoji (0.5.1 )
36+ gemoji (~> 2.0 )
37+ html-pipeline (~> 2.2 )
38+ jekyll (>= 2.0 )
39+ json (1.8.3 )
40+ kramdown (1.9.0 )
41+ liquid (3.0.6 )
42+ listen (3.0.5 )
43+ rb-fsevent (>= 0.9.3 )
44+ rb-inotify (>= 0.9 )
45+ mercenary (0.3.5 )
46+ mini_portile2 (2.0.0 )
47+ minitest (5.8.3 )
48+ nokogiri (1.6.7-x64-mingw32 )
49+ mini_portile2 (~> 2.0.0.rc2 )
50+ rb-fsevent (0.9.6 )
51+ rb-inotify (0.9.5 )
52+ ffi (>= 0.5.0 )
53+ rouge (1.10.1 )
54+ safe_yaml (1.0.4 )
55+ sass (3.4.19 )
56+ thread_safe (0.3.5 )
57+ tzinfo (1.2.2 )
58+ thread_safe (~> 0.1 )
59+ wdm (0.1.1 )
60+
61+ PLATFORMS
62+ x64-mingw32
63+
64+ DEPENDENCIES
65+ jekyll-archives
66+ jekyll-paginate
67+ jekyll-redirect-from
68+ jemoji
69+ wdm (>= 0.1.0 )
70+
71+ BUNDLED WITH
72+ 1.10.6
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ Install [Jekyll](http://jekyllrb.com/).
88
99Then the emoji goodness. :smiley_cat :
1010```
11- gem install jemoji jekyll-redirect-from
11+ gem install bundler
12+ bundle install
1213```
1314
1415Then serve it up and watch it carefully:
Original file line number Diff line number Diff line change @@ -13,14 +13,31 @@ twitter_username: json-com
1313github_username : json-com
1414paginate : 5
1515
16- # Permalinks
17- #
18- # Use of `relative_permalinks` ensures post links from the index work properly.
19- permalink : pretty
20- relative_permalinks : true
21-
2216# Build settings
2317markdown : kramdown
2418gems :
2519 - jemoji
2620 - jekyll-redirect-from
21+ - jekyll-archives
22+ - jekyll-paginate
23+
24+ # Jekyll Archive Specific stuff
25+ jekyll-archives :
26+ enabled :
27+ - year
28+ - month
29+ - day
30+ - tag
31+ - category
32+ layouts :
33+ year : archive-year
34+ month : archive-month
35+ day : archive-day
36+ tag : archive-tag
37+ category : archive-category
38+ permalinks :
39+ year : ' /archives/:year/'
40+ month : ' /archives/:year/:month/'
41+ day : ' /archives/:year/:month/:day/'
42+ tag : ' /archives/tag/:name/'
43+ category : ' /archives/category/:name/'
Original file line number Diff line number Diff line change 1+ ---
2+ layout: default
3+ ---
4+
5+ < h1 > {{ page.type }} '{{ page.title }}' category</ h1 >
6+ < ul class ="posts ">
7+ {% for post in page.posts %}
8+ < li >
9+ < span class ="post-date "> {{ post.date | date: "%b %-d, %Y" }}</ span >
10+ < a class ="post-link " href ="{{ post.url | prepend: site.baseurl }} "> {{ post.title }}</ a >
11+ </ li >
12+ {% endfor %}
13+ </ ul >
Original file line number Diff line number Diff line change 1+ ---
2+ layout: default
3+ ---
4+
5+ < h1 > {{ page.date | date: "%B %-d, %Y" }}</ h1 >
6+
7+ < ul class ="posts ">
8+ {% for post in page.posts %}
9+ < li >
10+ < span class ="post-date "> {{ post.date | date: "%b %-d, %Y" }}</ span >
11+ < a class ="post-link " href ="{{ post.url | prepend: site.baseurl }} "> {{ post.title }}</ a >
12+ </ li >
13+ {% endfor %}
14+ </ ul >
Original file line number Diff line number Diff line change 1+ ---
2+ layout: default
3+ ---
4+
5+ < h1 > {{ page.date | date: "%B, %Y" }}</ h1 >
6+
7+ < ul class ="posts ">
8+ {% for post in page.posts %}
9+ < li >
10+ < span class ="post-date "> {{ post.date | date: "%b %-d, %Y" }}</ span >
11+ < a class ="post-link " href ="{{ post.url | prepend: site.baseurl }} "> {{ post.title }}</ a >
12+ </ li >
13+ {% endfor %}
14+ </ ul >
Original file line number Diff line number Diff line change 1+ ---
2+ layout: default
3+ ---
4+
5+ < h1 > {{ page.type }} '{{ page.title }}' tag</ h1 >
6+ < ul class ="posts ">
7+ {% for post in page.posts %}
8+ < li >
9+ < span class ="post-date "> {{ post.date | date: "%b %-d, %Y" }}</ span >
10+ < a class ="post-link " href ="{{ post.url | prepend: site.baseurl }} "> {{ post.title }}</ a >
11+ </ li >
12+ {% endfor %}
13+ </ ul >
Original file line number Diff line number Diff line change 1+ ---
2+ layout: default
3+ ---
4+
5+ < h1 > {{ page.date | date: "%Y" }}</ h1 >
6+
7+ < ul class ="posts ">
8+ {% for post in page.posts %}
9+ < li >
10+ < span class ="post-date "> {{ post.date | date: "%b %-d, %Y" }}</ span >
11+ < a class ="post-link " href ="{{ post.url | prepend: site.baseurl }} "> {{ post.title }}</ a >
12+ </ li >
13+ {% endfor %}
14+ </ ul >
Original file line number Diff line number Diff line change 1+ ---
2+ # from https://github.com/ludens/Jekyll/blob/gh-pages/archive.html
3+ layout : page
4+ title : Archives
5+ permalink : /archives/
6+ ---
7+
8+ <div class =" archive " id =" home " >
9+ <ul >
10+ {% for post in site.posts %}
11+ {% unless post.next %}
12+ <h3>{{ post.date | date: '%Y' }}-{{ post.date | date: '%-m' }}</h3>
13+ {% else %}
14+ {% capture year %}{{ post.date | date: '%Y %b' }}{% endcapture %}
15+ {% capture nyear %}{{ post.next.date | date: '%Y %b' }}{% endcapture %}
16+ {% if year != nyear %}
17+ <h3>{{ post.date | date: '%Y' }}-{{ post.date | date: '%-m' }}</h3>
18+ {% endif %}
19+ {% endunless %}
20+ <li>
21+ <a href="{{ post.url }}" class="noline">{{ post.title }}</a>
22+ {% if post.category %} from <span class="category"><a href="/search.html?category={{ post.category }}" class="noline">{{ post.category }}</a></span>{% endif %}
23+ </li>
24+ {% endfor %}
25+ </ul >
26+ </div >
You can’t perform that action at this time.
0 commit comments