Minifying isn't worth it for now
This commit is contained in:
parent
bd03658200
commit
123161be22
1
Gemfile
1
Gemfile
|
@ -4,7 +4,6 @@ gem "jekyll", "~> 4.3.2"
|
|||
gem "sanitize", "~> 6.0"
|
||||
|
||||
group :jekyll_plugins do
|
||||
gem 'octopress-minify-html', "~> 1.3"
|
||||
gem "jekyll-seo-tag", "~> 2.8"
|
||||
gem "jekyll-include-cache", "~> 0.2.1"
|
||||
end
|
||||
|
|
24
Gemfile.lock
24
Gemfile.lock
|
@ -6,23 +6,13 @@ GEM
|
|||
colorator (1.1.0)
|
||||
concurrent-ruby (1.2.2)
|
||||
crass (1.0.6)
|
||||
css_press (0.3.2)
|
||||
csspool-st (= 3.1.2)
|
||||
json
|
||||
csspool-st (3.1.2)
|
||||
em-websocket (0.5.3)
|
||||
eventmachine (>= 0.12.9)
|
||||
http_parser.rb (~> 0)
|
||||
eventmachine (1.2.7)
|
||||
execjs (2.8.1)
|
||||
ffi (1.15.5)
|
||||
forwardable-extended (2.6.0)
|
||||
google-protobuf (3.23.2-x86_64-linux)
|
||||
html_press (0.8.1)
|
||||
htmlentities
|
||||
multi_css (>= 0.1.0)
|
||||
multi_js
|
||||
htmlentities (4.3.4)
|
||||
http_parser.rb (0.8.0)
|
||||
i18n (1.14.1)
|
||||
concurrent-ruby (~> 1.0)
|
||||
|
@ -50,7 +40,6 @@ GEM
|
|||
jekyll (>= 3.8, < 5.0)
|
||||
jekyll-watch (2.2.1)
|
||||
listen (~> 3.0)
|
||||
json (2.6.3)
|
||||
kramdown (2.4.0)
|
||||
rexml
|
||||
kramdown-parser-gfm (1.1.0)
|
||||
|
@ -60,18 +49,8 @@ GEM
|
|||
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||
rb-inotify (~> 0.9, >= 0.9.10)
|
||||
mercenary (0.4.0)
|
||||
multi_css (0.1.0)
|
||||
css_press
|
||||
multi_js (0.0.1)
|
||||
uglifier
|
||||
nokogiri (1.15.2-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
octopress-hooks (2.6.2)
|
||||
jekyll (>= 2.0)
|
||||
octopress-minify-html (1.3.1)
|
||||
html_press (~> 0.8)
|
||||
jekyll (>= 2.0)
|
||||
octopress-hooks
|
||||
pathutil (0.16.2)
|
||||
forwardable-extended (~> 2.6)
|
||||
public_suffix (5.0.1)
|
||||
|
@ -89,8 +68,6 @@ GEM
|
|||
google-protobuf (~> 3.23)
|
||||
terminal-table (3.0.2)
|
||||
unicode-display_width (>= 1.1.1, < 3)
|
||||
uglifier (4.2.0)
|
||||
execjs (>= 0.3.0, < 3)
|
||||
unicode-display_width (2.4.2)
|
||||
webrick (1.8.1)
|
||||
|
||||
|
@ -101,7 +78,6 @@ DEPENDENCIES
|
|||
jekyll (~> 4.3.2)
|
||||
jekyll-include-cache (~> 0.2.1)
|
||||
jekyll-seo-tag (~> 2.8)
|
||||
octopress-minify-html (~> 1.3)
|
||||
sanitize (~> 6.0)
|
||||
|
||||
BUNDLED WITH
|
||||
|
|
|
@ -12,13 +12,7 @@ timezone: Asia/Kolkata
|
|||
plugins:
|
||||
- jekyll-include-cache
|
||||
- jekyll-seo-tag
|
||||
- octopress-minify-html
|
||||
- uglifier
|
||||
env: development
|
||||
webmaster_verifications:
|
||||
google: sR2qUrWTIJvtOlBP4RwHSavUoICUZaIGYLdxuylnSc4
|
||||
bing: 786007083CF16051F7322AF072B1D04E
|
||||
html_press:
|
||||
unquoted_attributes: true
|
||||
drop_empty_values: true
|
||||
strip_crlf: false
|
||||
bing: 786007083CF16051F7322AF072B1D04E
|
|
@ -15,7 +15,7 @@ layout: default
|
|||
<summary>
|
||||
<h2>{{post.title | strip}} </h2>
|
||||
<a class="topic-title" href="{{post.url}}">🔗</a>
|
||||
{% if post.sources contains "PTI" %}
|
||||
{% if post.sources contains "PTI" or post.sources contains "IE"%}
|
||||
<span title="Syndicated News">📡</span>
|
||||
{%endif%}
|
||||
</summary>
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
# Monkey patch to fix the inline_script bug
|
||||
module HtmlPress
|
||||
def self.js_compressor (text, options = nil)
|
||||
options ||= {}
|
||||
# This line is commented
|
||||
# options[:inline_script] = true
|
||||
MultiJs.compile(text, options).gsub(/;$/,'')
|
||||
end
|
||||
end
|
|
@ -12,7 +12,7 @@ layout: default
|
|||
{% for post in site.pages %}
|
||||
{% if post.topics and post.days_ago < 2 and post.topics.first == topic %}
|
||||
|
||||
{% unless post.sources contains "PTI" %}
|
||||
{% unless post.sources contains "PTI" or post.sources contains "IE" %}
|
||||
<details data-hash="{{post.id}}-{{post.date | date: '%s'}}"><summary><h3>{{post.title | strip}}</h3></summary>
|
||||
<div class="details-content">{{post.content}}</div>
|
||||
</details>
|
||||
|
|
Loading…
Reference in New Issue