-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pared down version of page for embedding
- Loading branch information
1 parent
797704e
commit 212f394
Showing
5 changed files
with
2 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +0,0 @@ | ||
{{ if and (ne .Section "docs") (ne .Section "documents") (not .Params.no_donate_footer) }} | ||
<div class="donate-footer"> | ||
<div class="wrapper text-center"> | ||
<h2>{{ i18n "footer_support_us" }}</h2> | ||
<div class="buttons"> | ||
<a class="accent" href="{{ "donate/" | relLangURL }}">{{ i18n "footer_donate" }}</a> | ||
</div> | ||
</div> | ||
</div> | ||
{{ end }} | ||
|
||
{{ if ne .Section "documents" }} | ||
<footer class="site-footer"> | ||
|
||
<div class="wrapper"> | ||
<div class="footer-col-wrapper"> | ||
<div class="footer-col footer-col-2"> | ||
<p>{{ .Site.Params.description | safeHTML }}</p> | ||
<p> | ||
<span itemscope itemtype="http://schema.org/PostalAddress"> | ||
<span itemprop="streetAddress">548 Market St, PMB 77519</span>, | ||
<span itemprop="addressLocality">San Francisco</span>, | ||
<span itemprop="addressRegion">CA</span> | ||
<span itemprop="postalCode">94104-5401</span>, | ||
<span itemprop="addressCountry">USA</span> | ||
</span> | ||
</p> | ||
<p>{{ i18n "footer_mailing" }}</p> | ||
<p> | ||
<span itemscope itemtype="http://schema.org/PostalAddress"> | ||
<span itemprop="streetAddress">PO Box 18666</span>, | ||
<span itemprop="addressLocality">Minneapolis</span>, | ||
<span itemprop="addressRegion">MN</span> | ||
<span itemprop="postalCode">55418-0666</span>, | ||
<span itemprop="addressCountry">USA</span> | ||
</span> | ||
</p> | ||
</div> | ||
|
||
<div class="footer-col footer-col-1"> | ||
<ul class="social-media-list"> | ||
{{ with .Site.Params.github_username }} | ||
<li> | ||
<i class="fab fa-github" aria-hidden="true"></i> | ||
<a href="https://github.com/{{ . }}"> | ||
<span class="username">GitHub</span> | ||
</a> | ||
</li> | ||
{{ end }} | ||
|
||
{{ with .Site.Params.twitter_username }} | ||
<li> | ||
<i class="fab fa-twitter" aria-hidden="true"></i> | ||
<a href="https://twitter.com/{{ . }}"> | ||
<span class="username">Twitter</span> | ||
</a> | ||
</li> | ||
{{ end }} | ||
{{ with .Site.Params.mastodon_username }} | ||
<li> | ||
<i class="fab fa-mastodon" aria-hidden="true"></i> | ||
<a rel="me" href="https://infosec.exchange/@{{ . }}"> | ||
<span class="username">Mastodon</span> | ||
</a> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
{{ i18n "footer_policies" | safeHTML }} | ||
</div> | ||
|
||
<div class="footer-col footer-newsletter-col footer-col-3"> | ||
<h6>{{ i18n "subscribe_to_newsletter_headline" }}</h6> | ||
<iframe src="https://outreach.abetterinternet.org/l/1011011/2023-02-16/6l51" height="200" style="width: 100%; border: 0"></iframe> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</footer> | ||
{{ end }}{{/* if ne .Section "documents" */}} | ||
|
||
{{ $js := resources.Get "js/main.js" | fingerprint "sha512" }} | ||
<script src="{{ $js.RelPermalink }}" integrity="{{ $js.Data.Integrity }}"></script> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +0,0 @@ | ||
{{ if ne .Section "documents" }} | ||
<header class="site-header"> | ||
<a id="skiplink" href="#main-content">{{ i18n "header_skip_nav" }}</a> | ||
<div class="wrapper"> | ||
<a class="site-title" href="{{ .Site.Home.RelPermalink }}"><img src="/images/letsencrypt-logo-horizontal.svg" alt="Let's Encrypt"></a> | ||
|
||
<span id="menuIcon"> | ||
<i class="fas fa-bars"></i> | ||
</span> | ||
<nav class="site-nav" id="menu"> | ||
<div class="pure-menu pure-menu-horizontal custom-can-transform"> | ||
<ul class="pure-menu-list"> | ||
{{ range .Site.Menus.main }} | ||
<li class="pure-menu-item{{ if .HasChildren }} pure-menu-has-children{{ end }}"> | ||
<a href="{{ if .HasChildren }}#{{ else }}{{ .URL }}{{ end }}" class="pure-menu-link" tabindex="0">{{ .Name }}</a> | ||
{{ if .HasChildren }} | ||
<ul class="pure-menu-children"> | ||
{{ range .Children }} | ||
<li class="pure-menu-item"> | ||
<a href="{{ .URL }}" class="pure-menu-link">{{ .Name }}</a> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
{{ end }} | ||
</li> | ||
{{ end }} | ||
{{ $home := .Site.Home }} | ||
{{ $langs := slice }} | ||
{{ if .Translations }} | ||
{{ range .AllTranslations }} | ||
{{ $langs = $langs | append . }} | ||
{{ end }} | ||
{{ else }} | ||
{{ range $home.AllTranslations }} | ||
{{ $langs = $langs | append . }} | ||
{{ end }} | ||
{{ end }} | ||
{{ if gt (len $langs ) 1 }} | ||
<li class="pure-menu-item pure-menu-has-children"> | ||
<a href="#" class="pure-menu-link" tabindex="0">{{ i18n "languages" }} <img src="/images/language-icon128px-black.png" class="inline-icon" alt="" aria-hidden="true"></a> | ||
<ul class="pure-menu-children menu-for-languages"> | ||
{{ range $langs }} | ||
{{ $isCurrentLang := eq $home.Language .Language }} | ||
<li class="pure-menu-item"> | ||
<a href="{{ .RelPermalink }}" lang="{{ .Language.Params.languageCode }}" hreflang="{{ .Language.Params.languageCode }}" class="pure-menu-link">{{ if $isCurrentLang }}✓ {{ end }}{{ .Language.LanguageName }}</a> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
</div> | ||
</nav> | ||
</div> | ||
</header> | ||
<div id="site-banner"> | ||
<a href="https://abetterinternet.org/tenth-anniversary">{{ i18n "site_banner_text" }}</a> | ||
</div> | ||
<div id="main-content"></div> | ||
{{ end }}{{/* if ne .Section "documents" */}} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters