Stop using capture tags for card.html includes
This commit is contained in:
		| @@ -34,7 +34,7 @@ | ||||
|               {% elsif include.font %} | ||||
|               <span class="{{ include.font }} panel-item panel-font" alt="{{ include.title }}"></span> | ||||
|               {% endif %} | ||||
|               {{include.description}} | ||||
|               {{include.description | translate_text }} | ||||
|             </p> | ||||
|             <div> | ||||
|             <p> | ||||
| @@ -47,7 +47,7 @@ | ||||
|                     {% endif %} | ||||
|                 </a> | ||||
|                 {% 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 %} | ||||
|                         {{include.moretext}} | ||||
|                     {% else %} | ||||
|   | ||||
| @@ -4,76 +4,56 @@ | ||||
|  | ||||
| <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" | ||||
|   title=providers_title | ||||
|   title="Providers" | ||||
|   icon="fas fa-server" | ||||
|   iconcolor="dark" | ||||
|   page=providers_page | ||||
|   description=providers_description | ||||
|   page="/providers/" | ||||
|   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" | ||||
|   title=browsers_title | ||||
|   title="Web Browsers" | ||||
|   icon="far fa-compass" | ||||
|   iconcolor="dark" | ||||
|   page=browsers_page | ||||
|   description=browsers_description | ||||
|   page="/browsers/" | ||||
|   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" | ||||
|   title=software_title | ||||
|   title="Software" | ||||
|   icon="far fa-window-restore" | ||||
|   iconcolor="dark" | ||||
|   page=software_page | ||||
|   description=software_description | ||||
|   page="/software/" | ||||
|   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" | ||||
|   title=os_title | ||||
|   title="Operating Systems" | ||||
|   icon="fas fa-desktop" | ||||
|   iconcolor="dark" | ||||
|   page=os_page | ||||
|   description=os_description | ||||
|   page="/operating-systems/" | ||||
|   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_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" | ||||
|   title=services_title | ||||
|   title="PrivacyTools Services" | ||||
|   icon="far fa-eye-slash" | ||||
|   iconcolor="dark" | ||||
|   page=services_page | ||||
|   description=services_description | ||||
|   page="/services/" | ||||
|   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" | ||||
|   title=donate_title | ||||
|   title="Donate" | ||||
|   icon="fas fa-donate" | ||||
|   iconcolor="dark" | ||||
|   page=donate_page | ||||
|   description=donate_description | ||||
|   page="/donate/" | ||||
|   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> | ||||
|   | ||||
| @@ -23,33 +23,21 @@ Discover_privacycentric_online_services_including_email_providers_VPN_operators_ | ||||
| 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 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 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. | ||||
|  | ||||
| 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 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 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... | ||||
|  | ||||
| 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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 djoate
					djoate