revamped travis cibuild + conforms

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
This commit is contained in:
Viren Mohindra 2017-02-16 21:35:26 -05:00
commit 0e2d9793ee
No known key found for this signature in database
GPG key ID: 6148352D8545AEF9
6 changed files with 9 additions and 10 deletions

View file

@ -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

View file

@ -138,7 +138,7 @@ layout: compress
</div>
<div class="col-md-3">
<p class="text-muted"><a href="http://nukewebbed.com/#section-termsandconditions" target="_blank">Privacy Policy and T&amp;C</a></p>
<p class="text-muted"><a href="https://web.archive.org/web/20170210165830/http://nukewebbed.com/#section-termsandconditions" target="_blank">Privacy Policy and T&amp;C</a></p>
</div>
</div>
</div>

File diff suppressed because one or more lines are too long

View file

@ -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)

View file

@ -97,7 +97,7 @@ layout: page
<button class="btn btn-{{ status_data['color'] }}" data-list-facet="js-promise-status" data-facet-value="{{ status_name }}" data-select-single="true">
<i class="fa fa-{{ status_data['icon'] }} fa-fw" aria-hidden="true"></i>
<span id="remove-on-mobile">{{ status_name }}</span>
<span class="remove-on-mobile">{{ status_name }}</span>
</button>
{% endfor %}
</div>
@ -114,7 +114,7 @@ layout: page
<li role="presentation" data-list-facet="js-promise-category" data-facet-value="{{ category }}" class="{{ category }}">
<a href="#" role="tab" data-toggle="tab" class="text-muted">
<i class="fa fa-fw fa-{{ icons[category] }}"></i>&nbsp;
<span id="remove-on-mobile">{{ category }}</span>
<span class="remove-on-mobile">{{ category }}</span>
</a>
</li>
{% endfor %}

View file

@ -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
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