Fix meta tags for translated pages

This commit is contained in:
Jonah 2019-11-25 14:58:21 -06:00
parent 4507e5517b
commit 7b11a7bb01
No known key found for this signature in database
GPG Key ID: 53ADD8CEA3D016F6
4 changed files with 359 additions and 5736 deletions

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@
<meta name="msapplication-TileImage" content="/assets/img/favicons/mstile-144x144.png">
<meta name="msapplication-config" content="/assets/img/favicons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<link rel="canonical" href="{{ site.production_url }}{{ page.src_dir | replace:'index.html',''}}">
<link rel="canonical" href="{{ page.permalink | prepend: site.production_url }}">
{% hreflang %}
<!-- title -->
@ -21,7 +21,7 @@
<meta property="og:title" content="{{ site.title }}" />
{% endif %}
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ page.permalink | prepend: site.url }}" />
<meta property="og:url" content="{{ page.permalink | prepend: site.production_url }}" />
<meta property="og:image" content="{{ site.production_url }}/assets/img/layout/ogimage.jpg" />
<meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"/>
<meta property="og:locale" content="{{ page.language | default: "en_GB" }}" />

View File

@ -1,14 +1,14 @@
# Copyright 2019 Signal
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
# associated documentation files (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, merge, publish, distribute,
# sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or
#
# The above copyright notice and this permission notice shall be included in all copies or
# substantial portions of the Software.
#
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
# NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
@ -28,7 +28,7 @@ module Jekyll
if page["translate"]
dir = page["src_dir"].nil? ? page["dir"] : page["src_dir"]
hreflangs = %{<link rel="alternate" hreflang="en" href="#{site.config["production_url"]}#{dir}" />}
hreflangs = %{<link rel="alternate" hreflang="en" href="#{site.config["production_url"]}#{dir}" /><link rel="alternate" hreflang="x-default" href="#{site.config["production_url"]}#{dir}" />}
site.data["languages"].each_key do |language|
hreflangs << %{<link rel="alternate" hreflang="#{language.tr('_', '-')}" href="#{site.config["production_url"]}/#{language}#{dir}" />}

View File

@ -5726,3 +5726,355 @@ httpsgist.github.comkennwhite1f3bc4d889b02b35d8aa_KEY: |
Dont_use_LT2P_IPSec_use_other_protocols._KEY: |
Don't use LT2P IPSec, use other protocols.
httpsplay.google.comstoreappsdetails?idorg.mozilla.firefox_KEY: |
https://play.google.com/store/apps/details?id=org.mozilla.firefox
httpsplay.google.comstoreappsdetails?idorg.torproject.torbrowser_KEY: |
https://play.google.com/store/apps/details?id=org.torproject.torbrowser
httpsplay.google.comstoreappsdetails?idcom.google.android.webviewhlen_US_KEY: |
https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en_US
Browser_Fingerprint__Is_your_browser_configuration_unique?_KEY: |
Browser Fingerprint - Is your browser configuration unique?
How_Unique_Is_Your_Web_Browser?_Peter_Eckersley_EFF._KEY: |
How Unique Is Your Web Browser? Peter Eckersley, EFF.
WebRTC_IP_Leak_Test__Is_your_IP_address_leaking?_KEY: |
WebRTC IP Leak Test - Is your IP address leaking?
How_to_disable_WebRTC_in_Firefox?_KEY: |
How to disable WebRTC in Firefox?
How_to_fix_the_WebRTC_Leak_in_Google_Chrome?_KEY: |
How to fix the WebRTC Leak in Google Chrome?
What_about_other_browsers?_KEY: |
What about other browsers?
Looking_for_TRR_DoH_or_ESNI?_KEY: |
Looking for TRR, DoH or ESNI?
httpsplay.google.comstoreappsdetails?idcom.etesync.syncadapter_KEY: |
https://play.google.com/store/apps/details?id=com.etesync.syncadapter
httpsplay.google.comstoreappsdetails?idcom.nextcloud.client_KEY: |
https://play.google.com/store/apps/details?id=com.nextcloud.client
httpsitunes.apple.comusappnextcloudid1125420102?mt8_KEY: |
https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8
httpsbugzilla.mozilla.orgshow_bug.cgi?id1500289_KEY: |
https://bugzilla.mozilla.org/show_bug.cgi?id=1500289
httpsbugzilla.mozilla.orgshow_bug.cgi?id1542754_KEY: |
https://bugzilla.mozilla.org/show_bug.cgi?id=1542754
httpswww.clawsmail.orgdownloads.php?sectiondownloads_KEY: |
https://www.claws-mail.org/downloads.php?section=downloads
httpsplay.google.comstoreappsdetails?idorg.sufficientlysecure.keychain_KEY: |
https://play.google.com/store/apps/details?id=org.sufficientlysecure.keychain
httpsgit.gnupg.orgcgibingitweb.cgi?pgnupg.git_KEY: |
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git
httpsplay.google.comstoreappsdetails?idorg.mozilla.firefoxsend_KEY: |
https://play.google.com/store/apps/details?id=org.mozilla.firefoxsend
httpsplay.google.comstoreappsdetails?idcom.github.catfriend1.syncthingandroid_KEY: |
https://play.google.com/store/apps/details?id=com.github.catfriend1.syncthingandroid
httpsgithub.comsyncthing?typesource_KEY: |
https://github.com/syncthing?type=source
Prefer_the_classic_site?_View_a_singlepage_layout._KEY: |
Prefer the classic site? View a single-page layout.
Privacy?_I_dont_have_anything_to_hide._KEY: |
Privacy? I don't have anything to hide.
How_do_you_counter_the_I_have_nothing_to_hide?_argument?_reddit.com_KEY: |
How do you counter the "I have nothing to hide?" argument? (reddit.com)
httpspapers.ssrn.comsol3papers.cfm?abstract_id998565_KEY: |
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=998565
What_does_the_US_government_know_about_you?_KEY: |
What does the US government know about you?
httpsplay.google.comstoreappsdetails?idorg.torproject.torbrowser_KEY: |
https://play.google.com/store/apps/details?id=org.torproject.torbrowser
httpsplay.google.comstoreappsdetails?idnet.i2p.android_KEY: |
https://play.google.com/store/apps/details?id=net.i2p.android
httpsplay.google.comstoreappsdetails?idcom.standardnotes_KEY: |
https://play.google.com/store/apps/details?id=com.standardnotes
httpsplay.google.comstoreappsdetails?idcom.lyonbros.turtl_KEY: |
https://play.google.com/store/apps/details?id=com.lyonbros.turtl
Privacy?_I_dont_have_anything_to_hide._KEY: |
Privacy? I don't have anything to hide.
How_do_you_counter_the_I_have_nothing_to_hide?_argument?_reddit.com_KEY: |
How do you counter the "I have nothing to hide?" argument? (reddit.com)
httpspapers.ssrn.comsol3papers.cfm?abstract_id998565_KEY: |
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=998565
Who_is_required_to_hand_over_the_encryption_keys_to_authorities?_KEY: |
Who is required to hand over the encryption keys to authorities?
Why_is_it_not_recommended_to_choose_a_USbased_service?_KEY: |
Why is it not recommended to choose a US-based service?
What_is_a_warrant_canary?_KEY: |
What is a warrant canary?
httpsplay.google.comstoreappsdetails?idorg.mozilla.firefox_KEY: |
https://play.google.com/store/apps/details?id=org.mozilla.firefox
httpsplay.google.comstoreappsdetails?idorg.torproject.torbrowser_KEY: |
https://play.google.com/store/apps/details?id=org.torproject.torbrowser
httpsplay.google.comstoreappsdetails?idcom.google.android.webviewhlen_US_KEY: |
https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en_US
Browser_Fingerprint__Is_your_browser_configuration_unique?_KEY: |
Browser Fingerprint - Is your browser configuration unique?
How_Unique_Is_Your_Web_Browser?_Peter_Eckersley_EFF._KEY: |
How Unique Is Your Web Browser? Peter Eckersley, EFF.
WebRTC_IP_Leak_Test__Is_your_IP_address_leaking?_KEY: |
WebRTC IP Leak Test - Is your IP address leaking?
How_to_disable_WebRTC_in_Firefox?_KEY: |
How to disable WebRTC in Firefox?
How_to_fix_the_WebRTC_Leak_in_Google_Chrome?_KEY: |
How to fix the WebRTC Leak in Google Chrome?
What_about_other_browsers?_KEY: |
What about other browsers?
Looking_for_TRR_DoH_or_ESNI?_KEY: |
Looking for TRR, DoH or ESNI?
httpswww.clawsmail.orgdownloads.php?sectiondownloads_KEY: |
https://www.claws-mail.org/downloads.php?section=downloads
httpsplay.google.comstoreappsdetails?idorg.thoughtcrime.securesms_KEY: |
https://play.google.com/store/apps/details?id=org.thoughtcrime.securesms
httpsplay.google.comstoreappsdetails?idcom.wire_KEY: |
https://play.google.com/store/apps/details?id=com.wire
httpsitunes.apple.comappwireid930944768?mt8_KEY: |
https://itunes.apple.com/app/wire/id930944768?mt=8
httpswww.linphone.orgtechnicalcornerlinphone?qttechnical_corner2qttechnical_corner_KEY: |
https://www.linphone.org/technical-corner/linphone?qt-technical_corner=2#qt-technical_corner
httpswww.linphone.orgtechnicalcornerlinphone?qttechnical_corner2qttechnical_corner_KEY: |
https://www.linphone.org/technical-corner/linphone?qt-technical_corner=2#qt-technical_corner
httpswww.linphone.orgtechnicalcornerlinphone?qttechnical_corner2qttechnical_corner_KEY: |
https://www.linphone.org/technical-corner/linphone?qt-technical_corner=2#qt-technical_corner
httpsplay.google.comstoreappsdetails?idorg.linphone_KEY: |
https://play.google.com/store/apps/details?id=org.linphone
httpsitunes.apple.comusapplinphoneid360065638?mt8_KEY: |
https://itunes.apple.com/us/app/linphone/id360065638?mt=8
httpsapps.apple.comusappmumbleid443472808?ls1_KEY: |
https://apps.apple.com/us/app/mumble/id443472808?ls=1
httpsfdroid.orgrepositorybrowse?fdidim.vector.alpha_KEY: |
https://f-droid.org/repository/browse/?fdid=im.vector.alpha
httpsplay.google.comstoreappsdetails?idim.vector.app_KEY: |
https://play.google.com/store/apps/details?id=im.vector.app
httpsplay.google.comstoreappsdetails?idchat.rocket.android_KEY: |
https://play.google.com/store/apps/details?id=chat.rocket.android
httpsplay.google.comstoreappsdetails?idio.keybase.ossifragehlen_US_KEY: |
https://play.google.com/store/apps/details?id=io.keybase.ossifrage&hl=en_US
httpsplay.google.comstoreappsdetails?idorg.mozilla.firefoxsend_KEY: |
https://play.google.com/store/apps/details?id=org.mozilla.firefoxsend
httpsplay.google.comstoreappsdetails?idcom.nextcloud.client_KEY: |
https://play.google.com/store/apps/details?id=com.nextcloud.client
httpsitunes.apple.comusappnextcloudid1125420102?mt8_KEY: |
https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8
httpsplay.google.comstoreappsdetails?idcom.nextcloud.client_KEY: |
https://play.google.com/store/apps/details?id=com.nextcloud.client
httpsitunes.apple.comusappnextcloudid1125420102?mt8_KEY: |
https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8
httpsplay.google.comstoreappsdetails?idcom.github.catfriend1.syncthingandroid_KEY: |
https://play.google.com/store/apps/details?id=com.github.catfriend1.syncthingandroid
httpsgithub.comsyncthing?typesource_KEY: |
https://github.com/syncthing?type=source
httpssafariextensions.apple.comdetails?idcom.bitwarden.safariLTZ2PFU5D6_KEY: |
https://safari-extensions.apple.com/details/?id=com.bitwarden.safari-LTZ2PFU5D6
httpsplay.google.comstoreappsdetails?idcom.x8bit.bitwarden_KEY: |
https://play.google.com/store/apps/details?id=com.x8bit.bitwarden
httpsitunes.apple.comappbitwardenfreepasswordmanagerid1137397744?mt8_KEY: |
https://itunes.apple.com/app/bitwarden-free-password-manager/id1137397744?mt=8
httpsplay.google.comstoreappsdetails?idcom.kunzisoft.keepass.free_KEY: |
https://play.google.com/store/apps/details?id=com.kunzisoft.keepass.free
httpsplay.google.comstoreappsdetails?idcom.lesspass.android_KEY: |
https://play.google.com/store/apps/details?id=com.lesspass.android
httpsplay.google.comstoreappsdetails?idcom.etesync.syncadapter_KEY: |
https://play.google.com/store/apps/details?id=com.etesync.syncadapter
httpsplay.google.comstoreappsdetails?idorg.sufficientlysecure.keychain_KEY: |
https://play.google.com/store/apps/details?id=org.sufficientlysecure.keychain
httpsgit.gnupg.orgcgibingitweb.cgi?pgnupg.git_KEY: |
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git
httpsplay.google.comstoreappsdetails?idorg.torproject.torbrowser_KEY: |
https://play.google.com/store/apps/details?id=org.torproject.torbrowser
httpsplay.google.comstoreappsdetails?idnet.i2p.android_KEY: |
https://play.google.com/store/apps/details?id=net.i2p.android
httpsbugzilla.mozilla.orgshow_bug.cgi?id1500289_KEY: |
https://bugzilla.mozilla.org/show_bug.cgi?id=1500289
httpsbugzilla.mozilla.orgshow_bug.cgi?id1542754_KEY: |
https://bugzilla.mozilla.org/show_bug.cgi?id=1542754
httpsplay.google.comstoreappsdetails?idcom.standardnotes_KEY: |
https://play.google.com/store/apps/details?id=com.standardnotes
httpsplay.google.comstoreappsdetails?idcom.lyonbros.turtl_KEY: |
https://play.google.com/store/apps/details?id=com.lyonbros.turtl
httpsplay.google.comstoreappsdetails?idcom.abunchtell.writeas_KEY: |
https://play.google.com/store/apps/details?id=com.abunchtell.writeas
What_does_the_US_government_know_about_you?_KEY: |
What does the US government know about you?
httpssafariextensions.apple.comdetails?idcom.bitwarden.safariLTZ2PFU5D6_KEY: |
https://safari-extensions.apple.com/details/?id=com.bitwarden.safari-LTZ2PFU5D6
httpsplay.google.comstoreappsdetails?idcom.x8bit.bitwarden_KEY: |
https://play.google.com/store/apps/details?id=com.x8bit.bitwarden
httpsitunes.apple.comappbitwardenfreepasswordmanagerid1137397744?mt8_KEY: |
https://itunes.apple.com/app/bitwarden-free-password-manager/id1137397744?mt=8
httpsplay.google.comstoreappsdetails?idcom.kunzisoft.keepass.free_KEY: |
https://play.google.com/store/apps/details?id=com.kunzisoft.keepass.free
httpsplay.google.comstoreappsdetails?idcom.lesspass.android_KEY: |
https://play.google.com/store/apps/details?id=com.lesspass.android
httpsplay.google.comstoreappsdetails?idcom.abunchtell.writeas_KEY: |
https://play.google.com/store/apps/details?id=com.abunchtell.writeas
Who_is_required_to_hand_over_the_encryption_keys_to_authorities?_KEY: |
Who is required to hand over the encryption keys to authorities?
Why_is_it_not_recommended_to_choose_a_USbased_service?_KEY: |
Why is it not recommended to choose a US-based service?
What_is_a_warrant_canary?_KEY: |
What is a warrant canary?
httpsplay.google.comstoreappsdetails?idorg.thoughtcrime.securesms_KEY: |
https://play.google.com/store/apps/details?id=org.thoughtcrime.securesms
httpsplay.google.comstoreappsdetails?idcom.wire_KEY: |
https://play.google.com/store/apps/details?id=com.wire
httpsitunes.apple.comappwireid930944768?mt8_KEY: |
https://itunes.apple.com/app/wire/id930944768?mt=8
httpswww.linphone.orgtechnicalcornerlinphone?qttechnical_corner2qttechnical_corner_KEY: |
https://www.linphone.org/technical-corner/linphone?qt-technical_corner=2#qt-technical_corner
httpswww.linphone.orgtechnicalcornerlinphone?qttechnical_corner2qttechnical_corner_KEY: |
https://www.linphone.org/technical-corner/linphone?qt-technical_corner=2#qt-technical_corner
httpswww.linphone.orgtechnicalcornerlinphone?qttechnical_corner2qttechnical_corner_KEY: |
https://www.linphone.org/technical-corner/linphone?qt-technical_corner=2#qt-technical_corner
httpsplay.google.comstoreappsdetails?idorg.linphone_KEY: |
https://play.google.com/store/apps/details?id=org.linphone
httpsitunes.apple.comusapplinphoneid360065638?mt8_KEY: |
https://itunes.apple.com/us/app/linphone/id360065638?mt=8
httpsapps.apple.comusappmumbleid443472808?ls1_KEY: |
https://apps.apple.com/us/app/mumble/id443472808?ls=1
httpsfdroid.orgrepositorybrowse?fdidim.vector.alpha_KEY: |
https://f-droid.org/repository/browse/?fdid=im.vector.alpha
httpsplay.google.comstoreappsdetails?idim.vector.app_KEY: |
https://play.google.com/store/apps/details?id=im.vector.app
httpsplay.google.comstoreappsdetails?idchat.rocket.android_KEY: |
https://play.google.com/store/apps/details?id=chat.rocket.android
httpsplay.google.comstoreappsdetails?idio.keybase.ossifragehlen_US_KEY: |
https://play.google.com/store/apps/details?id=io.keybase.ossifrage&hl=en_US
Why_sponsor__site.name_?_KEY: |
Why sponsor {{ site.name }}?
httpsplay.google.comstoreappsdetails?idcom.nextcloud.client_KEY: |
https://play.google.com/store/apps/details?id=com.nextcloud.client
httpsitunes.apple.comusappnextcloudid1125420102?mt8_KEY: |
https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8
You_wouldnt_trust_your_finances_to_someone_with_a_fake_identity_so_why_trust_them_with_your_internet_data?_We_require_our_recommended_providers_to_be_KEY: |
You wouldn't trust your finances to someone with a fake identity, so why trust them with your internet data? We require our recommended providers to be public about their ownership or leadership. We also would like to see frequent transparency reports, especially in regard to how government requests are handled.
Should_I_use_a_VPN?_KEY: |
Should I use a VPN?
What_if_I_need_encryption?_KEY: |
What if I need encryption?
Should_I_use_encrypted_DNS_with_a_VPN?_KEY: |
Should I use encrypted DNS with a VPN?
What_if_I_need_anonymity?_KEY: |
What if I need anonymity?
Shouldnt_I_hide_my_IP_address?_KEY: |
Shouldn't I hide my IP address?
Should_I_use_Tor_emandem_a_VPN?_KEY: |
Should I use Tor <em>and</em> a VPN?
Are_VPNs_ever_useful?_KEY: |
Are VPNs ever useful?
httpsproxy.shpanelknowledgebase.php?actiondisplayarticleid5_KEY: |
https://proxy.sh/panel/knowledgebase.php?action=displayarticle&id=5