jekyll-lenciel-theme 1.0.24 → 1.0.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/assets/javascripts/Valine.min.js +11 -6
  3. data/assets/javascripts/app.js +0 -1
  4. data/assets/stylesheets/screen.css +1 -1
  5. data/index.html +1 -11
  6. data/plugins/blockquote.rb +82 -0
  7. data/plugins/category_feed.xml +26 -0
  8. data/plugins/category_generator.rb +177 -0
  9. data/plugins/category_index.html +17 -0
  10. data/plugins/img-tag-transform.rb +5 -0
  11. data/plugins/margin_note.rb +17 -0
  12. data/plugins/raw.rb +15 -0
  13. data/plugins/sidenote.rb +17 -0
  14. data/plugins/titlecase.rb +36 -0
  15. data/plugins/video_tag.rb +56 -0
  16. metadata +35 -43
  17. data/_includes/after_footer.html +0 -3
  18. data/_includes/archive_post.html +0 -8
  19. data/_includes/article.html +0 -38
  20. data/_includes/asides/recent_posts.html +0 -10
  21. data/_includes/custom/after_footer.html +0 -57
  22. data/_includes/custom/asides/about.html +0 -4
  23. data/_includes/custom/baidu_analytics.html +0 -0
  24. data/_includes/custom/footer.html +0 -11
  25. data/_includes/custom/head.html +0 -49
  26. data/_includes/custom/header.html +0 -6
  27. data/_includes/custom/navigation.html +0 -5
  28. data/_includes/custom/post/sharing.html +0 -35
  29. data/_includes/disqus.html +0 -21
  30. data/_includes/facebook_like.html +0 -10
  31. data/_includes/footer.html +0 -1
  32. data/_includes/google_analytics.html +0 -12
  33. data/_includes/google_plus_one.html +0 -9
  34. data/_includes/head.html +0 -30
  35. data/_includes/header.html +0 -1
  36. data/_includes/navigation.html +0 -15
  37. data/_includes/post/author.html +0 -8
  38. data/_includes/post/categories.html +0 -10
  39. data/_includes/post/date.html +0 -5
  40. data/_includes/post/disqus_thread.html +0 -1
  41. data/_includes/post/sharing.html +0 -23
  42. data/_includes/yarchive.html +0 -10
  43. data/_layouts/default.html +0 -18
  44. data/_layouts/home.html +0 -22
  45. data/_layouts/page.html +0 -49
  46. data/_layouts/post.html +0 -45
  47. data/_layouts/yarchive.html +0 -22
  48. data/assets/javascripts/libs/lazyload.min.js +0 -1
@@ -0,0 +1,82 @@
1
+ #
2
+ # Author: Brandon Mathis
3
+ # A full rewrite based on the work of: Josediaz Gonzalez - https://github.com/josegonzalez/josediazgonzalez.com/blob/master/_plugins/blockquote.rb
4
+ #
5
+ # Outputs a string with a given attribution as a quote
6
+ #
7
+ # {% blockquote Bobby Willis http://google.com/search?q=pants the search for bobby's pants %}
8
+ # Wheeee!
9
+ # {% endblockquote %}
10
+ # ...
11
+ # <blockquote>
12
+ # <p>Wheeee!</p>
13
+ # <footer>
14
+ # <strong>Bobby Willis</strong><cite><a href="http://google.com/search?q=pants">The Search For Bobby's Pants</a>
15
+ # </blockquote>
16
+ #
17
+ require './plugins/titlecase.rb'
18
+
19
+ module Jekyll
20
+
21
+ class Blockquote < Liquid::Block
22
+ FullCiteWithTitle = /(\S.*)\s+(https?:\/\/)(\S+)\s+(.+)/i
23
+ FullCite = /(\S.*)\s+(https?:\/\/)(\S+)/i
24
+ AuthorTitle = /([^,]+),([^,]+)/
25
+ Author = /(.+)/
26
+
27
+ def initialize(tag_name, markup, tokens)
28
+ @by = nil
29
+ @source = nil
30
+ @title = nil
31
+ if markup =~ FullCiteWithTitle
32
+ @by = $1
33
+ @source = $2 + $3
34
+ @title = $4.titlecase.strip
35
+ elsif markup =~ FullCite
36
+ @by = $1
37
+ @source = $2 + $3
38
+ elsif markup =~ AuthorTitle
39
+ @by = $1
40
+ @title = $2.titlecase.strip
41
+ elsif markup =~ Author
42
+ @by = $1
43
+ end
44
+ super
45
+ end
46
+
47
+ def render(context)
48
+ quote = paragraphize(super)
49
+ author = "<strong>#{@by.strip}</strong>" if @by
50
+ if @source
51
+ url = @source.match(/https?:\/\/(.+)/)[1].split('/')
52
+ parts = []
53
+ url.each do |part|
54
+ if (parts + [part]).join('/').length < 32
55
+ parts << part
56
+ end
57
+ end
58
+ source = parts.join('/')
59
+ source << '/&hellip;' unless source == @source
60
+ end
61
+ if !@source.nil?
62
+ cite = " <cite><a href='#{@source}'>#{(@title || source)}</a></cite>"
63
+ elsif !@title.nil?
64
+ cite = " <cite>#{@title}</cite>"
65
+ end
66
+ blockquote = if @by.nil?
67
+ quote
68
+ elsif cite
69
+ "#{quote}<footer>#{author + cite}</footer>"
70
+ else
71
+ "#{quote}<footer>#{author}</footer>"
72
+ end
73
+ "<blockquote>#{blockquote}</blockquote>"
74
+ end
75
+
76
+ def paragraphize(input)
77
+ "<p>#{input.lstrip.rstrip.gsub(/\n\n/, '</p><p>').gsub(/\n/, '<br/>')}</p>"
78
+ end
79
+ end
80
+ end
81
+
82
+ Liquid::Template.register_tag('blockquote', Jekyll::Blockquote)
@@ -0,0 +1,26 @@
1
+ ---
2
+ layout: null
3
+ ---
4
+ <?xml version="1.0" encoding="utf-8"?>
5
+ <feed xmlns="http://www.w3.org/2005/Atom">
6
+
7
+ <title><![CDATA[{% if site.titlecase %}{{ page.title | titlecase | cdata_escape }}{% else %}{{ page.title | cdata_escape }}{% endif %} | {{ site.title | cdata_escape }}]]></title>
8
+ <link href="{{ site.url }}/{{ page.feed_url }}" rel="self"/>
9
+ <link href="{{ site.url }}/"/>
10
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
11
+ <id>{{ site.url }}/</id>
12
+ <author>
13
+ <name><![CDATA[{{ site.author | strip_html }}]]></name>
14
+ {% if site.email %}<email><![CDATA[{{ site.email }}]]></email>{% endif %}
15
+ </author>
16
+
17
+ {% for post in site.categories[page.category] limit: 5 %}
18
+ <entry>
19
+ <title type="html"><![CDATA[{% if site.titlecase %}{{ post.title | titlecase | cdata_escape }}{% else %}{{ post.title | cdata_escape }}{% endif %}]]></title>
20
+ <link href="{{ site.url }}{{ post.url }}"/>
21
+ <updated>{{ post.date | date_to_xmlschema }}</updated>
22
+ <id>{{ site.url }}{{ post.id }}</id>
23
+ <content type="html"><![CDATA[{{ post.content | expand_urls: site.url | markdownify | cdata_escape }}]]></content>
24
+ </entry>
25
+ {% endfor %}
26
+ </feed>
@@ -0,0 +1,177 @@
1
+ # encoding: utf-8
2
+ #
3
+ # Jekyll category page generator.
4
+ # http://recursive-design.com/projects/jekyll-plugins/
5
+ #
6
+ # Version: 0.1.4 (201101061053)
7
+ #
8
+ # Copyright (c) 2010 Dave Perrett, http://recursive-design.com/
9
+ # Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
10
+ #
11
+ # A generator that creates category pages for jekyll sites.
12
+ #
13
+ # Included filters :
14
+ # - category_links: Outputs the list of categories as comma-separated <a> links.
15
+ # - date_to_html_string: Outputs the post.date as formatted html, with hooks for CSS styling.
16
+ #
17
+ # Available _config.yml settings :
18
+ # - category_dir: The subfolder to build category pages in (default is 'categories').
19
+ # - category_title_prefix: The string used before the category name in the page title (default is
20
+ # 'Category: ').
21
+
22
+ require 'stringex'
23
+ I18n.config.available_locales = :en
24
+ module Jekyll
25
+
26
+ # The CategoryIndex class creates a single category page for the specified category.
27
+ class CategoryIndex < Page
28
+
29
+ # Initializes a new CategoryIndex.
30
+ #
31
+ # +base+ is the String path to the <source>.
32
+ # +category_dir+ is the String path between <source> and the category folder.
33
+ # +category+ is the category currently being processed.
34
+ def initialize(site, base, category_dir, category)
35
+ @site = site
36
+ @base = base
37
+ @dir = category_dir
38
+ @name = 'index.html'
39
+ self.process(@name)
40
+ # Read the YAML data from the layout page.
41
+ self.read_yaml(File.join(base, 'plugins'), 'category_index.html')
42
+ self.data['category'] = category
43
+ # Set the title for this page.
44
+ title_prefix = site.config['category_title_prefix'] || 'Category: '
45
+ self.data['title'] = "#{title_prefix}#{category}"
46
+ # Set the meta-description for this page.
47
+ meta_description_prefix = site.config['category_meta_description_prefix'] || 'Category: '
48
+ self.data['description'] = "#{meta_description_prefix}#{category}"
49
+ end
50
+
51
+ end
52
+
53
+ # The CategoryFeed class creates an Atom feed for the specified category.
54
+ class CategoryFeed < Page
55
+
56
+ # Initializes a new CategoryFeed.
57
+ #
58
+ # +base+ is the String path to the <source>.
59
+ # +category_dir+ is the String path between <source> and the category folder.
60
+ # +category+ is the category currently being processed.
61
+ def initialize(site, base, category_dir, category)
62
+ @site = site
63
+ @base = base
64
+ @dir = category_dir
65
+ @name = 'atom.xml'
66
+ self.process(@name)
67
+ # Read the YAML data from the layout page.
68
+ self.read_yaml(File.join(base, 'plugins'), 'category_feed.xml')
69
+ self.data['category'] = category
70
+ # Set the title for this page.
71
+ title_prefix = site.config['category_title_prefix'] || 'Category: '
72
+ self.data['title'] = "#{title_prefix}#{category}"
73
+ # Set the meta-description for this page.
74
+ meta_description_prefix = site.config['category_meta_description_prefix'] || 'Category: '
75
+ self.data['description'] = "#{meta_description_prefix}#{category}"
76
+
77
+ # Set the correct feed URL.
78
+ self.data['feed_url'] = "#{category_dir}/#{name}"
79
+ end
80
+
81
+ end
82
+
83
+ # The Site class is a built-in Jekyll class with access to global site config information.
84
+ class Site
85
+
86
+ # Creates an instance of CategoryIndex for each category page, renders it, and
87
+ # writes the output to a file.
88
+ #
89
+ # +category_dir+ is the String path to the category folder.
90
+ # +category+ is the category currently being processed.
91
+ def write_category_index(category_dir, category)
92
+ index = CategoryIndex.new(self, self.source, category_dir, category)
93
+ index.render(self.layouts, site_payload)
94
+ index.write(self.dest)
95
+ # Record the fact that this page has been added, otherwise Site::cleanup will remove it.
96
+ self.pages << index
97
+
98
+ # Create an Atom-feed for each index.
99
+ feed = CategoryFeed.new(self, self.source, category_dir, category)
100
+ feed.render(self.layouts, site_payload)
101
+ feed.write(self.dest)
102
+ # Record the fact that this page has been added, otherwise Site::cleanup will remove it.
103
+ self.pages << feed
104
+ end
105
+
106
+ # Loops through the list of category pages and processes each one.
107
+ def write_category_indexes
108
+ dir = self.config['category_dir'] || 'categories'
109
+ self.categories.keys.each do |category|
110
+ self.write_category_index(File.join(dir, category.to_url), category)
111
+ end
112
+ end
113
+ end
114
+
115
+ # Jekyll hook - the generate method is called by jekyll, and generates all of the category pages.
116
+ class GenerateCategories < Generator
117
+ safe true
118
+ priority :low
119
+
120
+ def generate(site)
121
+ site.write_category_indexes
122
+ end
123
+
124
+ end
125
+
126
+
127
+ # Adds some extra filters used during the category creation process.
128
+ module CategoryFilter
129
+
130
+ # Outputs a list of categories as comma-separated <a> links. This is used
131
+ # to output the category list for each post on a category page.
132
+ #
133
+ # +categories+ is the list of categories to format.
134
+ #
135
+ # Returns string
136
+ #
137
+ def category_links(categories)
138
+ categories = categories.sort!.map { |c| category_link c }
139
+
140
+ case categories.length
141
+ when 0
142
+ ""
143
+ when 1
144
+ categories[0].to_s
145
+ else
146
+ "#{categories[0...-1].join(', ')}, #{categories[-1]}"
147
+ end
148
+ end
149
+
150
+ # Outputs a single category as an <a> link.
151
+ #
152
+ # +category+ is a category string to format as an <a> link
153
+ #
154
+ # Returns string
155
+ #
156
+ def category_link(category)
157
+ dir = @context.registers[:site].config['category_dir']
158
+ "<a class='category' href='/#{dir}/#{category.to_url}/'>#{category}</a>"
159
+ end
160
+
161
+ # Outputs the post.date as formatted html, with hooks for CSS styling.
162
+ #
163
+ # +date+ is the date object to format as HTML.
164
+ #
165
+ # Returns string
166
+ def date_to_html_string(date)
167
+ result = '<span class="month">' + date.strftime('%b').upcase + '</span> '
168
+ result += date.strftime('<span class="day">%d</span> ')
169
+ result += date.strftime('<span class="year">%Y</span> ')
170
+ result
171
+ end
172
+
173
+ end
174
+
175
+ end
176
+
177
+ Liquid::Template.register_filter(Jekyll::CategoryFilter)
@@ -0,0 +1,17 @@
1
+ ---
2
+ layout: page
3
+ footer: false
4
+ ---
5
+
6
+ <div id="blog-archives" class="category">
7
+ {% for post in site.categories[page.category] %}
8
+ {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
9
+ {% unless year == this_year %}
10
+ {% assign year = this_year %}
11
+ <h2>{{ year }}</h2>
12
+ {% endunless %}
13
+ <article>
14
+ {% include archive_post.html %}
15
+ </article>
16
+ {% endfor %}
17
+ </div>
@@ -0,0 +1,5 @@
1
+ Jekyll::Hooks.register :posts, :pre_render do |post, payload|
2
+ docExt = post.extname.tr('.', '')
3
+ post.content.gsub!(/!\[(.*)\]\(([^\)]+)\)(?:{:([^}]+)})*/, '{% picture \2 \3 %}')
4
+ post.content.gsub! 'path: /', 'path: ' #you can probably optimise this a bit
5
+ end
@@ -0,0 +1,17 @@
1
+ module Jekyll
2
+ class RenderMarginNoteTag < Liquid::Tag
3
+
4
+ require "shellwords"
5
+
6
+ def initialize(tag_name, text, tokens)
7
+ super
8
+ @text = text.shellsplit
9
+ end
10
+
11
+ def render(context)
12
+ "<label for='#{@text[0]}' class='margin-toggle'> &#8853;</label><input type='checkbox' id='#{@text[0]}' class='margin-toggle'/><span class='marginnote'>#{@text[1]} </span>"
13
+ end
14
+ end
15
+ end
16
+
17
+ Liquid::Template.register_tag('marginnote', Jekyll::RenderMarginNoteTag)
data/plugins/raw.rb ADDED
@@ -0,0 +1,15 @@
1
+ # Author: Brandon Mathis
2
+ # Description: Provides plugins with a method for wrapping and unwrapping input to prevent Markdown and Textile from parsing it.
3
+ # Purpose: This is useful for preventing Markdown and Textile from being too aggressive and incorrectly parsing in-line HTML.
4
+ module TemplateWrapper
5
+ # Wrap input with a <div>
6
+ def self.safe_wrap(input)
7
+ "<div class='bogus-wrapper'><notextile>#{input}</notextile></div>"
8
+ end
9
+ # This must be applied after the
10
+ def self.unwrap(input)
11
+ input.gsub /<div class='bogus-wrapper'><notextile>(.+?)<\/notextile><\/div>/m do
12
+ $1
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,17 @@
1
+ module Jekyll
2
+ class RenderSideNoteTag < Liquid::Tag
3
+
4
+ require "shellwords"
5
+
6
+ def initialize(tag_name, text, tokens)
7
+ super
8
+ @text = text.shellsplit
9
+ end
10
+
11
+ def render(context)
12
+ "<label for='#{@text[0]}' class='margin-toggle sidenote-number'></label><input type='checkbox' id='#{@text[0]}' class='margin-toggle'/><span class='sidenote'>#{@text[1]} </span>"
13
+ end
14
+ end
15
+ end
16
+
17
+ Liquid::Template.register_tag('sidenote', Jekyll::RenderSideNoteTag)
@@ -0,0 +1,36 @@
1
+ class String
2
+ def titlecase
3
+ small_words = %w(a an and as at but by en for if in of on or the to v v. via vs vs.)
4
+
5
+ x = split(" ").map do |word|
6
+ # note: word could contain non-word characters!
7
+ # downcase all small_words, capitalize the rest
8
+ small_words.include?(word.gsub(/\W/, "").downcase) ? word.downcase! : word.smart_capitalize!
9
+ word
10
+ end
11
+ # capitalize first and last words
12
+ x.first.to_s.smart_capitalize!
13
+ x.last.to_s.smart_capitalize!
14
+ # small words are capitalized after colon, period, exclamation mark, question mark
15
+ x.join(" ").gsub(/(:|\.|!|\?)\s?(\W*#{small_words.join("|")}\W*)\s/) { "#{$1} #{$2.smart_capitalize} " }
16
+ end
17
+
18
+ def titlecase!
19
+ replace(titlecase)
20
+ end
21
+
22
+ def smart_capitalize
23
+ # ignore any leading crazy characters and capitalize the first real character
24
+ if self =~ /^['"\(\[']*([a-z])/
25
+ i = index($1)
26
+ x = self[i,self.length]
27
+ # word with capitals and periods mid-word are left alone
28
+ self[i,1] = self[i,1].upcase unless x =~ /[A-Z]/ or x =~ /\.\w+/
29
+ end
30
+ self
31
+ end
32
+
33
+ def smart_capitalize!
34
+ replace(smart_capitalize)
35
+ end
36
+ end
@@ -0,0 +1,56 @@
1
+ # Title: Simple Video tag for Jekyll
2
+ # Author: Brandon Mathis http://brandonmathis.com
3
+ # Description: Easily output MPEG4 HTML5 video with a flash backup.
4
+ #
5
+ # Syntax {% video url/to/video [width height] [url/to/poster] %}
6
+ #
7
+ # Example:
8
+ # {% video http://site.com/video.mp4 720 480 http://site.com/poster-frame.jpg %}
9
+ #
10
+ # Output:
11
+ # <video width='720' height='480' preload='none' controls poster='http://site.com/poster-frame.jpg'>
12
+ # <source src='http://site.com/video.mp4' type='video/mp4; codecs=\"avc1.42E01E, mp4a.40.2\"'/>
13
+ # </video>
14
+ #
15
+
16
+ module Jekyll
17
+
18
+ class VideoTag < Liquid::Tag
19
+ @video = nil
20
+ @poster = ''
21
+ @height = ''
22
+ @width = ''
23
+
24
+ def initialize(tag_name, markup, tokens)
25
+ if markup =~ /(\S+\.\S+)(\s+(\S+\.\S+))?(\s+(\S+\.\S+))?(\s+(\d+)\s(\d+))?(\s+(\S+\.\S+))?/i
26
+ @video = [$1, $3, $5].compact
27
+ @width = $7
28
+ @height = $8
29
+ @poster = $10
30
+ end
31
+ super
32
+ end
33
+
34
+ def render(context)
35
+ output = super
36
+ type = {
37
+ 'mp4' => "type='video/mp4; codecs=\"avc1.42E01E, mp4a.40.2\"'",
38
+ 'ogv' => "type='video/ogg; codecs=theora, vorbis'",
39
+ 'webm' => "type='video/webm; codecs=vp8, vorbis'"
40
+ }
41
+ if @video && @video.size > 0
42
+ video = "<video width='#{@width}' height='#{@height}' preload='none' controls poster='#{@poster}'>"
43
+ @video.each do |v|
44
+ t = v.match(/([^\.]+)$/)[1]
45
+ video += "<source src='#{v}' #{type[t]}>"
46
+ end
47
+ video += "</video>"
48
+ else
49
+ "Error processing input, expected syntax: {% video url/to/video [url/to/video] [url/to/video] [width height] [url/to/poster] %}"
50
+ end
51
+ end
52
+ end
53
+ end
54
+
55
+ Liquid::Template.register_tag('video', Jekyll::VideoTag)
56
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-lenciel-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.24
4
+ version: 1.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - lenciel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2024-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.2.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: jekyll-sitemap
28
+ name: jekyll-paginate
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: jekyll-paginate
42
+ name: jekyll-gist
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -53,7 +53,21 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: jekyll-archives
56
+ name: jekyll_picture_tag
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: jekyll-sitemap
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - ">="
@@ -95,19 +109,19 @@ dependencies:
95
109
  - !ruby/object:Gem::Version
96
110
  version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
- name: jekyll_picture_tag
112
+ name: jekyll-archives
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
- - - "~>"
115
+ - - ">="
102
116
  - !ruby/object:Gem::Version
103
- version: 1.13.0
117
+ version: '0'
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - "~>"
122
+ - - ">="
109
123
  - !ruby/object:Gem::Version
110
- version: 1.13.0
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: bundler
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -179,7 +193,7 @@ dependencies:
179
193
  - !ruby/object:Gem::Version
180
194
  version: '0'
181
195
  - !ruby/object:Gem::Dependency
182
- name: html_compressor
196
+ name: htmlcompressor
183
197
  requirement: !ruby/object:Gem::Requirement
184
198
  requirements:
185
199
  - - ">="
@@ -229,37 +243,6 @@ extra_rdoc_files: []
229
243
  files:
230
244
  - LICENSE.txt
231
245
  - README.md
232
- - _includes/after_footer.html
233
- - _includes/archive_post.html
234
- - _includes/article.html
235
- - _includes/asides/recent_posts.html
236
- - _includes/custom/after_footer.html
237
- - _includes/custom/asides/about.html
238
- - _includes/custom/baidu_analytics.html
239
- - _includes/custom/footer.html
240
- - _includes/custom/head.html
241
- - _includes/custom/header.html
242
- - _includes/custom/navigation.html
243
- - _includes/custom/post/sharing.html
244
- - _includes/disqus.html
245
- - _includes/facebook_like.html
246
- - _includes/footer.html
247
- - _includes/google_analytics.html
248
- - _includes/google_plus_one.html
249
- - _includes/head.html
250
- - _includes/header.html
251
- - _includes/navigation.html
252
- - _includes/post/author.html
253
- - _includes/post/categories.html
254
- - _includes/post/date.html
255
- - _includes/post/disqus_thread.html
256
- - _includes/post/sharing.html
257
- - _includes/yarchive.html
258
- - _layouts/default.html
259
- - _layouts/home.html
260
- - _layouts/page.html
261
- - _layouts/post.html
262
- - _layouts/yarchive.html
263
246
  - assets/fonts/IcoMoon.eot
264
247
  - assets/fonts/IcoMoon.svg
265
248
  - assets/fonts/IcoMoon.ttf
@@ -320,12 +303,21 @@ files:
320
303
  - assets/javascripts/libs/jwplayer/glow/sharing/shareIcon.png
321
304
  - assets/javascripts/libs/jwplayer/glow/sharing/shareScreen.png
322
305
  - assets/javascripts/libs/jwplayer/player.swf
323
- - assets/javascripts/libs/lazyload.min.js
324
306
  - assets/javascripts/libs/modernizr.custom.55630.js
325
307
  - assets/javascripts/umami.js
326
308
  - assets/stylesheets/screen.css
327
309
  - assets/stylesheets/screen.min.css
328
310
  - index.html
311
+ - plugins/blockquote.rb
312
+ - plugins/category_feed.xml
313
+ - plugins/category_generator.rb
314
+ - plugins/category_index.html
315
+ - plugins/img-tag-transform.rb
316
+ - plugins/margin_note.rb
317
+ - plugins/raw.rb
318
+ - plugins/sidenote.rb
319
+ - plugins/titlecase.rb
320
+ - plugins/video_tag.rb
329
321
  homepage: https://github.com/lenciel/jekyll-lenciel-theme
330
322
  licenses:
331
323
  - MIT
@@ -1,3 +0,0 @@
1
- {% include disqus.html %}
2
- {% include facebook_like.html %}
3
- {% include custom/after_footer.html %}
@@ -1,8 +0,0 @@
1
- {% capture category %}{{ post.categories | size }}{% endcapture %}
2
- <h1><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1>
3
- <time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "<span class='month'>%b</span> <span class='day'>%d</span> <span class='year'>%Y</span>"}}</time>
4
- {% if category != '0' %}
5
- <footer>
6
- <span class="categories">posted in {{ post.categories | category_links }}</span>
7
- </footer>
8
- {% endif %}
@@ -1,38 +0,0 @@
1
- {% unless page.no_header %}
2
- <header>
3
- {% if index %}
4
- <h1 class="entry-title"><a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a></h1>
5
- {% else %}
6
- <h1 class="entry-title">{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}</h1>
7
- {% endif %}
8
- {% unless page.meta == false %}
9
- <p class="meta">
10
- <time class='entry-date' datetime='{{ post.date | date_xmlschema }}'>
11
- {% if index %}
12
- <span class='date'>{{ post.date | date: "%Y-%m-%d" }}</span>
13
- <span class='time'>{{ post.date | date: '%H:%M:%S' }}</span>
14
- {% else %}
15
- <span class='date'>{{ page.date | date: "%Y-%m-%d" }}</span>
16
- <span class='time'>{{ page.date | date: '%H:%M:%S' }}</span>
17
- {% endif %}
18
- </time>
19
- {% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %}
20
- | <a href="{% if index %}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread"
21
- data-disqus-identifier="{% if post.meta.disqus_id %}{{ post.meta.disqus_id }}{% else %}{{ site.url }}{{ post.url }}{% endif %}">Comments</a>
22
- {% endif %}
23
- </p>
24
- {% endunless %}
25
- </header>
26
- {% endunless %}
27
- {% if index %}
28
- <div class="entry-content">{{ content | excerpt }}</div>
29
- {% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
30
- {% if excerpted == 'true' %}
31
- <footer>
32
- <a rel="full-article" href="{{ root_url }}{{ post.url }}">{{ site.excerpt_link }}</a>
33
- </footer>
34
- {% endif %}
35
- {% else %}
36
- <div class="entry-content">{{ content }}</div>
37
- {% endif %}
38
-
@@ -1,10 +0,0 @@
1
- <section>
2
- <h1>Recent Posts</h1>
3
- <ul id="recent_posts">
4
- {% for post in site.posts limit: site.recent_posts %}
5
- <li class="post">
6
- <a href="{{ root_url }}{{ post.url }}">{% if site.titlecase %}{{ post.title | titlecase }}{% else %}{{ post.title }}{% endif %}</a>
7
- </li>
8
- {% endfor %}
9
- </ul>
10
- </section>