Stop using capture tags for card.html includes
This commit is contained in:
parent
718a52be07
commit
b4cc2cf5e0
@ -34,7 +34,7 @@
|
|||||||
{% elsif include.font %}
|
{% elsif include.font %}
|
||||||
<span class="{{ include.font }} panel-item panel-font" alt="{{ include.title }}"></span>
|
<span class="{{ include.font }} panel-item panel-font" alt="{{ include.title }}"></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{include.description}}
|
{{include.description | translate_text }}
|
||||||
</p>
|
</p>
|
||||||
<div>
|
<div>
|
||||||
<p>
|
<p>
|
||||||
@ -47,7 +47,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
{% elsif include.page %}
|
{% elsif include.page %}
|
||||||
<a class="btn btn-{{include.color}} mb-1" href="{{include.page}}">
|
<a class="btn btn-{{include.color}} mb-1" href="{{include.page | translate_page}}">
|
||||||
{% if include.moretext %}
|
{% if include.moretext %}
|
||||||
{{include.moretext}}
|
{{include.moretext}}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -4,76 +4,56 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
{% capture providers_title %}{% t Providers %}{% endcapture %}
|
|
||||||
{% capture providers_page %}/{% if page.language %}{{ page.language }}/{% endif %}providers/{% endcapture %}
|
|
||||||
{% capture providers_description %}{% t Discover privacy-centric online services, including email providers, VPN operators, DNS administrators, and more!%}{% endcapture %}
|
|
||||||
|
|
||||||
{% include card.html color="success"
|
{% include card.html color="success"
|
||||||
title=providers_title
|
title="Providers"
|
||||||
icon="fas fa-server"
|
icon="fas fa-server"
|
||||||
iconcolor="dark"
|
iconcolor="dark"
|
||||||
page=providers_page
|
page="/providers/"
|
||||||
description=providers_description
|
description="Discover privacy-centric online services, including email providers, VPN operators, DNS administrators, and more!"
|
||||||
%}
|
%}
|
||||||
|
|
||||||
{% capture browsers_title %}{% t Web Browsers %}{% endcapture %}
|
|
||||||
{% capture browsers_page %}/{% if page.language %}{{ page.language }}/{% endif %}browsers/{% endcapture %}
|
|
||||||
{% capture browsers_description %}{% t Find a web browser that respects your privacy, and discover how to harden your browser against tracking and leaks.%}{% endcapture %}
|
|
||||||
|
|
||||||
{% include card.html color="primary"
|
{% include card.html color="primary"
|
||||||
title=browsers_title
|
title="Web Browsers"
|
||||||
icon="far fa-compass"
|
icon="far fa-compass"
|
||||||
iconcolor="dark"
|
iconcolor="dark"
|
||||||
page=browsers_page
|
page="/browsers/"
|
||||||
description=browsers_description
|
description="Find a web browser that respects your privacy, and discover how to harden your browser against tracking and leaks."
|
||||||
%}
|
%}
|
||||||
|
|
||||||
{% capture software_title %}{% t Software %}{% endcapture %}
|
|
||||||
{% capture software_page %}/{% if page.language %}{{ page.language }}/{% endif %}software/{% endcapture %}
|
|
||||||
{% capture software_description %}{% t Discover a variety of open source software built to protect your privacy and keep your digital data secure.%}{% endcapture %}
|
|
||||||
|
|
||||||
{% include card.html color="warning"
|
{% include card.html color="warning"
|
||||||
title=software_title
|
title="Software"
|
||||||
icon="far fa-window-restore"
|
icon="far fa-window-restore"
|
||||||
iconcolor="dark"
|
iconcolor="dark"
|
||||||
page=software_page
|
page="/software/"
|
||||||
description=software_description
|
description="Discover a variety of open source software built to protect your privacy and keep your digital data secure."
|
||||||
%}
|
%}
|
||||||
|
|
||||||
{% capture os_title %}{% t Operating Systems%}{% endcapture %}
|
|
||||||
{% capture os_page %}/{% if page.language %}{{ page.language }}/{% endif %}operating-systems/{% endcapture %}
|
|
||||||
{% capture os_description %}{% t Find out how your operating system is compromising your privacy, and what simple alternatives exist.%}{% endcapture %}
|
|
||||||
|
|
||||||
{% include card.html color="info"
|
{% include card.html color="info"
|
||||||
title=os_title
|
title="Operating Systems"
|
||||||
icon="fas fa-desktop"
|
icon="fas fa-desktop"
|
||||||
iconcolor="dark"
|
iconcolor="dark"
|
||||||
page=os_page
|
page="/operating-systems/"
|
||||||
description=os_description
|
description="Find out how your operating system is compromising your privacy, and what simple alternatives exist."
|
||||||
%}
|
%}
|
||||||
|
|
||||||
{% capture services_title %}{% t PrivacyTools Services%}{% endcapture %}
|
{% capture services_title %}{% t %}{% endcapture %}
|
||||||
{% capture services_page %}/{% if page.language %}{{ page.language }}/{% endif %}services/{% endcapture %}
|
{% capture services_page %}/{% if page.language %}{{ page.language }}/{% endif %}services/{% endcapture %}
|
||||||
{% capture services_description %}{% t The PrivacyTools team is proud to launch a variety of privacy-centric online services, including a Mastodon instance, search engine, and more!%}{% endcapture %}
|
{% capture services_description %}{% t The PrivacyTools team is proud to launch a variety of privacy-centric online services, including a Mastodon instance, search engine, and more!%}{% endcapture %}
|
||||||
|
|
||||||
{% include card.html color="secondary"
|
{% include card.html color="secondary"
|
||||||
title=services_title
|
title="PrivacyTools Services"
|
||||||
icon="far fa-eye-slash"
|
icon="far fa-eye-slash"
|
||||||
iconcolor="dark"
|
iconcolor="dark"
|
||||||
page=services_page
|
page="/services/"
|
||||||
description=services_description
|
description="The PrivacyTools team is proud to launch a variety of privacy-centric online services, including a Mastodon instance, search engine, and more!"
|
||||||
%}
|
%}
|
||||||
|
|
||||||
{% capture donate_title %}{% t Donate%}{% endcapture %}
|
|
||||||
{% capture donate_page %}/{% if page.language %}{{ page.language }}/{% endif %}donate/{% endcapture %}
|
|
||||||
{% capture donate_description %}{% t We can't operate this site without the generous contributions we receive from our viewers. If you love privacy and our website please consider donating.%}{% endcapture %}
|
|
||||||
|
|
||||||
{% include card.html color="danger"
|
{% include card.html color="danger"
|
||||||
title=donate_title
|
title="Donate"
|
||||||
icon="fas fa-donate"
|
icon="fas fa-donate"
|
||||||
iconcolor="dark"
|
iconcolor="dark"
|
||||||
page=donate_page
|
page="/donate/"
|
||||||
description=donate_description
|
description="We can't operate this site without the generous contributions we receive from our viewers. If you love privacy and our website please consider donating."
|
||||||
%}
|
%}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -23,33 +23,21 @@ Discover_privacycentric_online_services_including_email_providers_VPN_operators_
|
|||||||
Learn_More: |
|
Learn_More: |
|
||||||
Learn More
|
Learn More
|
||||||
|
|
||||||
Web_Browsers: |
|
|
||||||
Web Browsers
|
|
||||||
|
|
||||||
Find_a_web_browser_that_respects_your_privacy_and_discover_how_to_harden_your_browser_against_tracki: |
|
Find_a_web_browser_that_respects_your_privacy_and_discover_how_to_harden_your_browser_against_tracki: |
|
||||||
Find a web browser that respects your privacy, and discover how to harden your browser against tracking and leaks.
|
Find a web browser that respects your privacy, and discover how to harden your browser against tracking and leaks.
|
||||||
|
|
||||||
Software: |
|
|
||||||
Software
|
|
||||||
|
|
||||||
Discover_a_variety_of_open_source_software_built_to_protect_your_privacy_and_keep_your_digital_data_s: |
|
Discover_a_variety_of_open_source_software_built_to_protect_your_privacy_and_keep_your_digital_data_s: |
|
||||||
Discover a variety of open source software built to protect your privacy and keep your digital data secure.
|
Discover a variety of open source software built to protect your privacy and keep your digital data secure.
|
||||||
|
|
||||||
Operating_Systems: |
|
|
||||||
Operating Systems
|
|
||||||
|
|
||||||
Find_out_how_your_operating_system_is_compromising_your_privacy_and_what_simple_alternatives_exist.: |
|
Find_out_how_your_operating_system_is_compromising_your_privacy_and_what_simple_alternatives_exist.: |
|
||||||
Find out how your operating system is compromising your privacy, and what simple alternatives exist.
|
Find out how your operating system is compromising your privacy, and what simple alternatives exist.
|
||||||
|
|
||||||
PrivacyTools_Services: |
|
: |
|
||||||
PrivacyTools Services
|
|
||||||
|
|
||||||
The_PrivacyTools_team_is_proud_to_launch_a_variety_of_privacycentric_online_services_including_a_Ma: |
|
The_PrivacyTools_team_is_proud_to_launch_a_variety_of_privacycentric_online_services_including_a_Ma: |
|
||||||
The PrivacyTools team is proud to launch a variety of privacy-centric online services, including a Mastodon instance, search engine, and more!
|
The PrivacyTools team is proud to launch a variety of privacy-centric online services, including a Mastodon instance, search engine, and more!
|
||||||
|
|
||||||
Donate: |
|
|
||||||
Donate
|
|
||||||
|
|
||||||
We_cant_operate_this_site_without_the_generous_contributions_we_receive_from_our_viewers._If_you_lov: |
|
We_cant_operate_this_site_without_the_generous_contributions_we_receive_from_our_viewers._If_you_lov: |
|
||||||
We can't operate this site without the generous contributions we receive from our viewers. If you love privacy and our website please consider donating.
|
We can't operate this site without the generous contributions we receive from our viewers. If you love privacy and our website please consider donating.
|
||||||
|
|
||||||
@ -65,6 +53,15 @@ Showcase_your_brand_as_a_sponsor_of_PrivacyTools_here_and_support_our_mission_of
|
|||||||
Learn_more...: |
|
Learn_more...: |
|
||||||
Learn more...
|
Learn more...
|
||||||
|
|
||||||
|
Join_our_Discourse_community_to_stay_up_to_date_on_privacy_news_or_make_suggestions!: |
|
||||||
|
Join our Discourse community to stay up to date on privacy news or make suggestions!
|
||||||
|
|
||||||
|
Get_the_latest_privacyrelated_updates_from_our_Mastodon_Feed._Follow_us_today!: |
|
||||||
|
Get the latest privacy-related updates from our Mastodon Feed. Follow us today!
|
||||||
|
|
||||||
|
The_complete_website_source_code_is_available_on_GitHub._Join_our_developer_team!: |
|
||||||
|
The complete website source code is available on GitHub. Join our developer team!
|
||||||
|
|
||||||
Encrypted_Cloud_Storage_Services: |
|
Encrypted_Cloud_Storage_Services: |
|
||||||
Encrypted Cloud Storage Services
|
Encrypted Cloud Storage Services
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user