Moving badges to theme, fixing bug with links not being clickable, adding disclaimer to apps for distribution icons.
This commit is contained in:
parent
1171b352c5
commit
29770627da
40 changed files with 3375 additions and 43 deletions
1
layouts/shortcodes/badge.html
Normal file
1
layouts/shortcodes/badge.html
Normal file
|
@ -0,0 +1 @@
|
|||
{{ partial "badge.html" (dict "Icon" (.Get 0) "Lang" (.Get 1) "Alt" (.Get 2) ) }}
|
19
layouts/shortcodes/badgeTable.html
Normal file
19
layouts/shortcodes/badgeTable.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<div class="columns-container fill-width">
|
||||
<div class="col2 column text-center">
|
||||
<h3>{{ i18n "en" }}</h3>
|
||||
{{ partial "badge.html" (dict "Icon" (.Get 0) "Lang" "en" "Alt" (.Get 1) ) }}
|
||||
<br>
|
||||
<div class="center fit-content">
|
||||
<div class="code"><img source="https://ad5001.eu/img/badges/en/{{ .Get 0 }}.svg" class="badge"/></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col2 column text-center">
|
||||
<h3>{{ i18n "fr" }}</h3>
|
||||
{{ partial "badge.html" (dict "Icon" (.Get 0) "Lang" "fr" "Alt" (.Get 1) ) }}
|
||||
<br>
|
||||
<div class="center fit-content">
|
||||
<div class="code"><img source="https://ad5001.eu/img/badges/fr/{{ .Get 0 }}.svg" class="badge"/></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
1
layouts/shortcodes/section1.html
Normal file
1
layouts/shortcodes/section1.html
Normal file
|
@ -0,0 +1 @@
|
|||
{{ partial "section1.html" (dict "Image" (.Get 0) "Content" (.Inner | markdownify) ) }}
|
4
layouts/shortcodes/sectionSkewed.html
Normal file
4
layouts/shortcodes/sectionSkewed.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
<section class="section-skewed padding-container-3" style="background: {{ .Get 1 | safeCSS }}; background: linear-gradient(170deg, {{ .Get 1 | safeCSS }} 0%, {{ .Get 0 | safeCSS }} 49%, {{ .Get 1 | safeCSS }} 100%);">
|
||||
{{ .Inner | markdownify }}
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue