From 0e2d9793eebfa0159d511c288762183324c26d3c Mon Sep 17 00:00:00 2001 From: Viren Mohindra Date: Thu, 16 Feb 2017 21:35:26 -0500 Subject: [PATCH] revamped travis cibuild + conforms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit revamped travis cibuild - cached archive.org links to speed up tests - should work perfectly and make PR’s conform to HTTPS standards - `—url-ignore` for personal website since its not served over HTTPS index.html + css/style.sass - ID is unique, changed `remove-on-mobile` to a class about.html - moved all non-https links to archive.org _layouts/page.html - converted T&C to archived link to conform with standards data.yaml - removed dailyword link since it doesn’t allow archive.org caching - changed cnbc link to serve over https --- _data/data.yaml | 3 +-- _layouts/page.html | 2 +- about.html | 6 +++--- css/styles.sass | 2 +- index.html | 4 ++-- script/cibuild | 2 +- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/_data/data.yaml b/_data/data.yaml index 20b1a3e..d9836af 100644 --- a/_data/data.yaml +++ b/_data/data.yaml @@ -191,7 +191,6 @@ promises: - 'https://web.archive.org/web/20161109222320/http://www.npr.org/2016/11/09/501451368/here-is-what-donald-trump-wants-to-do-in-his-first-100-days' - 'https://web.archive.org/web/20170210171820/https://www.washingtonpost.com/news/energy-environment/wp/2017/01/24/trump-gives-green-light-to-dakota-access-keystone-xl-oil-pipelines/' - 'https://web.archive.org/web/20170210172056/http://mobile.reuters.com/article/newsOne/idUSKBN15820N' - - 'http://www.dailyworld.com/story/news/2017/01/24/trump-acts-advance-keystone-dakota-pipelines/96989374/' - title: 'Cancel billions in payments to U.N. climate change programs and use the money to fix America''s water and environmental infrastructure' status: Not started @@ -776,7 +775,7 @@ promises: comments: 'https://redd.it/5d7soi' sources: - 'https://web.archive.org/web/20161110005306/https://www.washingtonpost.com/news/post-politics/wp/2016/01/22/here-are-76-of-donald-trumps-many-campaign-promises/' - - 'http://web.archive.org/web/20170203135142/http://www.cnbc.com/2017/02/03/us-senate-kills-sec-resource-extraction-rule.html' + - 'https://web.archive.org/web/20170203135142/http://www.cnbc.com/2017/02/03/us-senate-kills-sec-resource-extraction-rule.html' - title: 'Simplify the U.S. tax code and reduce the number of tax brackets from seven to four. The highest earners would pay a 25-percent tax. The corporate tax rate would fall to 15 percent. Eliminate the "marriage penalty" for taxpayers and get rid of the alternate minimum tax.' status: Not started diff --git a/_layouts/page.html b/_layouts/page.html index 3d431a0..34d9e9f 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -138,7 +138,7 @@ layout: compress
-

Privacy Policy and T&C

+

Privacy Policy and T&C

diff --git a/about.html b/about.html index bbb618d..e2faa2f 100644 --- a/about.html +++ b/about.html @@ -15,7 +15,7 @@ comments: false
- +
@@ -31,12 +31,12 @@ comments: false
- Mashable Article + Mashable Article

- +
diff --git a/css/styles.sass b/css/styles.sass index f46f572..c12b2fe 100644 --- a/css/styles.sass +++ b/css/styles.sass @@ -53,7 +53,7 @@ body // remove buttons on category filters on mobile and keep icons only @media only screen and (max-width: 760px) - #remove-on-mobile + .remove-on-mobile display: none @media only screen and (max-width: 480px) diff --git a/index.html b/index.html index 545f89e..8d4ab60 100644 --- a/index.html +++ b/index.html @@ -97,7 +97,7 @@ layout: page {% endfor %} @@ -114,7 +114,7 @@ layout: page {% endfor %} diff --git a/script/cibuild b/script/cibuild index 2f716f8..c41f29f 100644 --- a/script/cibuild +++ b/script/cibuild @@ -2,4 +2,4 @@ set -e # halt script on error bundle exec jekyll build -bundle exec htmlproofer ./_site --allow-hash-href --check-favicon --check-opengraph --check-html \ No newline at end of file +bundle exec htmlproofer --allow-hash-href --check-favicon --check-opengraph --check-html --check-img-http --timeframe 15d --enforce-https --url-ignore http://virenmohindra.me/ ./_site \ No newline at end of file