minify html with gem
This commit is contained in:
parent
19b24c4a52
commit
7e7a3f0ed6
3 changed files with 59 additions and 8 deletions
1
Gemfile
1
Gemfile
|
|
@ -21,4 +21,5 @@ gem "minima", "~> 2.0"
|
|||
# If you have any plugins, put them here!
|
||||
group :jekyll_plugins do
|
||||
gem "jekyll-feed", "~> 0.6"
|
||||
gem 'octopress-minify-html'
|
||||
end
|
||||
|
|
|
|||
27
Gemfile.lock
27
Gemfile.lock
|
|
@ -4,8 +4,18 @@ GEM
|
|||
addressable (2.5.0)
|
||||
public_suffix (~> 2.0, >= 2.0.2)
|
||||
colorator (1.1.0)
|
||||
css_press (0.3.2)
|
||||
csspool-st (= 3.1.2)
|
||||
json
|
||||
csspool-st (3.1.2)
|
||||
execjs (2.7.0)
|
||||
ffi (1.9.14)
|
||||
forwardable-extended (2.6.0)
|
||||
html_press (0.8.2)
|
||||
htmlentities
|
||||
multi_css (>= 0.1.0)
|
||||
multi_js (>= 0.1.0)
|
||||
htmlentities (4.3.4)
|
||||
jekyll (3.3.0)
|
||||
addressable (~> 2.4)
|
||||
colorator (~> 1.0)
|
||||
|
|
@ -23,6 +33,7 @@ GEM
|
|||
sass (~> 3.4)
|
||||
jekyll-watch (1.5.0)
|
||||
listen (~> 3.0, < 3.1)
|
||||
json (2.0.2)
|
||||
kramdown (1.12.0)
|
||||
liquid (3.0.6)
|
||||
listen (3.0.8)
|
||||
|
|
@ -30,6 +41,16 @@ GEM
|
|||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
mercenary (0.3.6)
|
||||
minima (2.0.0)
|
||||
multi_css (0.1.0)
|
||||
css_press
|
||||
multi_js (0.1.0)
|
||||
uglifier (~> 2)
|
||||
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.14.0)
|
||||
forwardable-extended (~> 2.6)
|
||||
public_suffix (2.0.4)
|
||||
|
|
@ -39,6 +60,9 @@ GEM
|
|||
rouge (1.11.1)
|
||||
safe_yaml (1.0.4)
|
||||
sass (3.4.22)
|
||||
uglifier (2.7.2)
|
||||
execjs (>= 0.3.0)
|
||||
json (>= 1.8.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
|
@ -47,9 +71,10 @@ DEPENDENCIES
|
|||
jekyll (= 3.3.0)
|
||||
jekyll-feed (~> 0.6)
|
||||
minima (~> 2.0)
|
||||
octopress-minify-html
|
||||
|
||||
RUBY VERSION
|
||||
ruby 2.1.3p242
|
||||
ruby 2.2.3p173
|
||||
|
||||
BUNDLED WITH
|
||||
1.13.6
|
||||
|
|
|
|||
39
index.html
39
index.html
|
|
@ -15,12 +15,37 @@ layout: page
|
|||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item list-group-item inauguration-time-container"> <i class="fa fa-home fa-fw"></i> <b id="inauguration-time">Days Till Inauguration: <span id="inauguration-days"></span></b></li>
|
||||
<li class="list-group-item list-group-item"> <i class="fa fa-calendar fa-fw"></i> <b>Days In Office: <span id="days-in-office"></span> </b></li>
|
||||
<li class="list-group-item list-group-item-info"> <i class="fa fa-hourglass-start fa-fw"></i> Not Yet Started: <span id="points-not-started"></span> of <span class="total-points"></span></li>
|
||||
<li class="list-group-item list-group-item-warning"> <i class="fa fa-cogs fa-fw"></i> In Progress: <span id="points-in-progress"></span> of <span class="total-points"></span></li>
|
||||
<li class="list-group-item list-group-item-success"> <i class="fa fa-check-circle-o fa-fw"></i> Achieved: <span id="points-achieved"></span> of <span class="total-points"></span></li>
|
||||
<li class="list-group-item list-group-item-danger"> <i class="fa fa-ban fa-fw"></i> Broken: <span id="points-broken"></span> of <span class="total-points"></span></li>
|
||||
<li class="list-group-item list-group-item inauguration-time-container">
|
||||
<i class="fa fa-home fa-fw"></i>
|
||||
<b id="inauguration-time">
|
||||
Days Till Inauguration:
|
||||
<span id="inauguration-days"></span>
|
||||
</b>
|
||||
</li>
|
||||
<li class="list-group-item list-group-item">
|
||||
<i class="fa fa-calendar fa-fw"></i>
|
||||
<b>Days In Office:
|
||||
<span id="days-in-office"></span>
|
||||
</b>
|
||||
</li>
|
||||
<li class="list-group-item list-group-item-info">
|
||||
<i class="fa fa-hourglass-start fa-fw"></i>
|
||||
Not Yet Started: <span id="points-not-started"></span> of <span class="total-points"></span>
|
||||
</li>
|
||||
<li class="list-group-item list-group-item-warning">
|
||||
<i class="fa fa-cogs fa-fw"></i>
|
||||
In Progress:
|
||||
<span id="points-in-progress"></span>
|
||||
of <span class="total-points"></span>
|
||||
</li>
|
||||
<li class="list-group-item list-group-item-success">
|
||||
<i class="fa fa-check-circle-o fa-fw"></i>
|
||||
Achieved: <span id="points-achieved"></span>
|
||||
of<span class="total-points"></span></li>
|
||||
<li class="list-group-item list-group-item-danger">
|
||||
<i class="fa fa-ban fa-fw"></i>
|
||||
Broken: <span id="points-broken"></span> of <span class="total-points"></span>
|
||||
</li>
|
||||
</ul>
|
||||
<p>
|
||||
On Tuesday November 8th, 2016, Donald John Trump won the electoral vote and is currently standing to be the President-elect of the United States of America.
|
||||
|
|
@ -39,7 +64,7 @@ layout: page
|
|||
<img src="https://simplesharebuttons.com/images/somacro/google.png" alt="Google" />
|
||||
</a>
|
||||
<!-- Twitter -->
|
||||
<a href="https://twitter.com/share?url=https://trumptracker.github.io/&text=Track @realDonaldTrump Electoral Promises with Trump Tracker.&hashtags=TrumpTracker&via=VirenMohindra" target="_blank">
|
||||
<a href="https://twitter.com/share?url=https://trumptracker.github.io/&text=Track @realDonaldTrump's Electoral Promises with Trump Tracker.&hashtags=TrumpTracker&via=VirenMohindra" target="_blank">
|
||||
<img src="https://simplesharebuttons.com/images/somacro/twitter.png" alt="Twitter" />
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue