mirror of
https://github.com/privacyguides/privacyguides.org
synced 2024-11-10 05:03:34 +01:00
Fix HTML Validation Errors
This commit is contained in:
parent
dc111a4359
commit
d04b88ad06
16
.github/workflows/tests.yml
vendored
16
.github/workflows/tests.yml
vendored
@ -85,10 +85,10 @@ jobs:
|
||||
uses: chabad360/htmlproofer@v1.1
|
||||
with:
|
||||
directory: ${{ github.workspace }}/_site
|
||||
arguments: --assume-extension --external_only --internal-domains privacyguides.org,www.privacyguides.org
|
||||
arguments: --assume-extension --external_only --internal-domains privacyguides.org,www.privacyguides.org --url-ignore '^(?:https?\:\/\/)?[\w\-\.]+\.onion'
|
||||
|
||||
https:
|
||||
name: "Require HTTPS Internal Links/Images"
|
||||
name: "Require HTTPS Internal Images"
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
continue-on-error: true
|
||||
@ -107,7 +107,7 @@ jobs:
|
||||
uses: chabad360/htmlproofer@v1.1
|
||||
with:
|
||||
directory: ${{ github.workspace }}/_site
|
||||
arguments: --assume-extension --enforce-https --check-img-http --internal-domains privacyguides.org,www.privacyguides.org --disable-external
|
||||
arguments: --assume-extension --check-img-http --internal-domains privacyguides.org,www.privacyguides.org --disable-external --checks-to-ignore LinkCheck,ScriptCheck
|
||||
|
||||
scripts:
|
||||
name: "Script Reference Checks"
|
||||
@ -129,7 +129,7 @@ jobs:
|
||||
uses: chabad360/htmlproofer@v1.1
|
||||
with:
|
||||
directory: ${{ github.workspace }}/_site
|
||||
arguments: --assume-extension --check-html --disable-external --check-sri --report-script-embeds --internal-domains privacyguides.org,www.privacyguides.org
|
||||
arguments: --assume-extension --check-html --disable-external --check-sri --report-script-embeds --internal-domains privacyguides.org,www.privacyguides.org --checks-to-ignore LinkCheck,ImageCheck,HtmlCheck
|
||||
|
||||
tags:
|
||||
name: "HTML Tag Test"
|
||||
@ -151,7 +151,7 @@ jobs:
|
||||
uses: chabad360/htmlproofer@v1.1
|
||||
with:
|
||||
directory: ${{ github.workspace }}/_site
|
||||
arguments: --assume-extension --check-html --disable-external --internal-domains privacyguides.org,www.privacyguides.org --report-invalid-tags --report-eof-tags --report-mismatched-tags
|
||||
arguments: --assume-extension --check-html --disable-external --allow-hash-href --internal-domains privacyguides.org,www.privacyguides.org --report-invalid-tags --report-eof-tags --report-mismatched-tags --checks-to-ignore LinkCheck,ImageCheck,ScriptCheck
|
||||
|
||||
entity:
|
||||
name: "HTML Entity Names Test"
|
||||
@ -173,7 +173,7 @@ jobs:
|
||||
uses: chabad360/htmlproofer@v1.1
|
||||
with:
|
||||
directory: ${{ github.workspace }}/_site
|
||||
arguments: --assume-extension --check-html --disable-external --internal-domains privacyguides.org,www.privacyguides.org --report-missing-names
|
||||
arguments: --assume-extension --check-html --disable-external --allow-hash-href --internal-domains privacyguides.org,www.privacyguides.org --report-missing-names --checks-to-ignore LinkCheck,ImageCheck,ScriptCheck
|
||||
|
||||
misc:
|
||||
name: "Misc HTML Test"
|
||||
@ -195,7 +195,7 @@ jobs:
|
||||
uses: chabad360/htmlproofer@v1.1
|
||||
with:
|
||||
directory: ${{ github.workspace }}/_site
|
||||
arguments: --assume-extension --check-html --disable-external --internal-domains privacyguides.org,www.privacyguides.org --report-missing-doctype
|
||||
arguments: --assume-extension --check-html --disable-external --internal-domains privacyguides.org,www.privacyguides.org --report-missing-doctype --checks-to-ignore LinkCheck,ImageCheck,ScriptCheck
|
||||
|
||||
opengraph:
|
||||
name: "OpenGraph Test"
|
||||
@ -217,4 +217,4 @@ jobs:
|
||||
uses: chabad360/htmlproofer@v1.1
|
||||
with:
|
||||
directory: ${{ github.workspace }}/_site
|
||||
arguments: --assume-extension --disable-external --check-opengraph
|
||||
arguments: --assume-extension --disable-external --check-opengraph --checks-to-ignore LinkCheck,ImageCheck,ScriptCheck
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class="col-6">
|
||||
<a href="{{ post.url | prepend: site.baseurl }}" class="text-decoration-none">
|
||||
<div class="card bg-secondary" {%- if post.cover -%} style="background-image: {{ post.color | default: "linear-gradient(to bottom, rgba(40, 50, 63, 0.3), rgba(40, 50, 63, 0.9))" }}, url(/assets/img/blog/{{ post.cover }}); background-size: cover; background-position: center;"{%- endif -%}>
|
||||
<div class="card bg-secondary" {% if post.cover %} style="background-image: {{ post.color | default: "linear-gradient(to bottom, rgba(40, 50, 63, 0.3), rgba(40, 50, 63, 0.9))" }}, url(/assets/img/blog/{{ post.cover }}); background-size: cover; background-position: center;"{% endif %}>
|
||||
<div class="card-body d-flex flex-column align-self-end" style="min-height: 300px;">
|
||||
<h2 class="card-title mt-auto text-light">{{ post.title }}</h2>
|
||||
<p class="card-text text-light">{{ post.excerpt }} <strong>Continue Reading...</strong></p>
|
||||
|
@ -2,6 +2,6 @@
|
||||
|
||||
<p><em><strong>Privacy Guides</strong> is a socially motivated website that provides information for protecting your data security and privacy.</em></p>
|
||||
|
||||
<p><i class="fab fa-creative-commons fa-fw"></i><i class="fab fa-creative-commons-by fa-fw"></i><i class="fab fa-creative-commons-nc fa-fw"></i> Unless otherwise noted, the original content on this website is licensed under a <a href="http://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>. <span class="text-muted">The underlying source code used to format and display this content is not licensed for third-party use unless otherwise noted.</span></p>
|
||||
<p><i class="fab fa-creative-commons fa-fw"></i><i class="fab fa-creative-commons-by fa-fw"></i><i class="fab fa-creative-commons-nc fa-fw"></i> Unless otherwise noted, the original content on this website is licensed under a <a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International License</a>. <span class="text-muted">The underlying source code used to format and display this content is not licensed for third-party use unless otherwise noted.</span></p>
|
||||
|
||||
<p><small>Copyright © 2020 <a href="https://jonaharagon.com">Jonah Aragon</a>, <a href="https://aragon.ventures">Aragon Ventures LLC</a>, and <a href="https://github.com/privacyguides/privacyguides.org/graphs/contributors?from=2019-05-11&type=c&to={{ site.build.date }}">Contributors</a> | <a href="https://github.com/privacyguides/privacyguides">Website Source Code</a> | <a href="https://github.com/privacyguides/privacyguides.org/issues">Open an Issue</a> | <a href="/privacy-policy/">Privacy Policy</a> | <a href="/terms-and-notices/">Website Terms & Notices</a></small></p>
|
||||
|
@ -5,21 +5,21 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="keywords" content="privacy, anonymity, privacy guides, surveillance, encryption">
|
||||
<meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
|
||||
<link rel="canonical" href="{{ page.permalink | prepend: site.url | replace:'index.html',''}}">
|
||||
<link rel="canonical" href="{{ page.permalink | prepend: site.url | replace:'index.html','' }}">
|
||||
|
||||
<!-- title -->
|
||||
{% if page.title %}
|
||||
<title>{{ page.title }} | {{ site.title }}</title>
|
||||
<meta property="og:title" content="{{ page.title }} | {{ site.title }}" />
|
||||
<meta property="og:title" content="{{ page.title | escape }} | {{ site.title | escape }}" />
|
||||
{% else %}
|
||||
<title>{{ site.title }}</title>
|
||||
<meta property="og:title" content="{{ site.title }}" />
|
||||
<meta property="og:title" content="{{ site.title | escape }}" />
|
||||
{% endif %}
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="{{ page.permalink | prepend: site.url }}" />
|
||||
<meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"/>
|
||||
<meta property="og:description" content="{% if page.description %}{{ page.description | escape }}{% else %}{{ site.description | escape }}{% endif %}"/>
|
||||
<meta property="og:locale" content="en_US" />
|
||||
<meta property="og:site_name" content="{{ site.title }}" />
|
||||
<meta property="og:site_name" content="{{ site.title | escape }}" />
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/layout/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/layout/favicon-32x32.png">
|
||||
|
@ -2,7 +2,7 @@
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div class="p-5 mb-3 bg-white"{%- if page.cover -%} style="background-image: {{ page.color | default: "linear-gradient(to bottom, rgba(40, 50, 63, 0.3), rgba(40, 50, 63, 0.9))" }}, url(/assets/img/blog/{{ page.cover }}); background-size: cover; background-position: center;"{%- endif -%}>
|
||||
<div class="p-5 mb-3 bg-white"{% if page.cover %} style="background-image: {{ page.color | default: "linear-gradient(to bottom, rgba(40, 50, 63, 0.3), rgba(40, 50, 63, 0.9))" }}, url(/assets/img/blog/{{ page.cover }}); background-size: cover; background-position: center;"{% endif %}>
|
||||
<div class="container">
|
||||
<div class="post-cover">
|
||||
<div class="inner d-flex flex-column align-self-end" style="min-height: 300px;">
|
||||
|
@ -168,7 +168,7 @@ description: "These are our current web browser recommendations, settings, and a
|
||||
|
||||
<h3>What about other browsers?</h3>
|
||||
|
||||
<p>Chrome on macOS and Internet Explorer do not implement WebRTC yet. <a href="#browser"><i class="fas fa-link"></i> But we recommend using Firefox on all devices.</a></p>
|
||||
<p>Chrome on macOS and Internet Explorer do not yet implement WebRTC.</p>
|
||||
|
||||
{% include hr.html %}
|
||||
|
||||
|
@ -19,7 +19,7 @@ Privacy Guides additionally does not warrant that this website will be constantl
|
||||
<span class="badge badge-secondary mt-5">Section 2</span>
|
||||
# Licenses
|
||||
|
||||
<span class="lead">All content on this website is Copyright © Jonah Aragon, Aragon Ventures LLC, and [Contributors](https://github.com/privacyguides/privacyguides/graphs/contributors); and is licensed under the terms of the [Creative Commons Attribution-NonCommercial 4.0 International License](http://creativecommons.org/licenses/by-nc/4.0/).</span>
|
||||
<span class="lead">All content on this website is Copyright © Jonah Aragon, Aragon Ventures LLC, and [Contributors](https://github.com/privacyguides/privacyguides/graphs/contributors); and is licensed under the terms of the [Creative Commons Attribution-NonCommercial 4.0 International License](https://creativecommons.org/licenses/by-nc/4.0/).</span>
|
||||
|
||||
**Content** on this website is based on [github.com/privacyguides/privacyguides](https://github.com/privacyguides/privacyguides) and is made available for sharing and distribution under the Creative Commons Attribution-NonCommercial 4.0 International License.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user