diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2019-07-07 12:22:18 +0200 |
---|---|---|
committer | Dimitri Staessens <dimitri@ouroboros.rocks> | 2019-07-07 12:22:18 +0200 |
commit | 4d84c2a622929d6ff5ab7f40697bc4e47f76e057 (patch) | |
tree | 56ad8beed3d1bb23a8d042a9c256bb69773ce03b /themes/terrassa/layouts/partials | |
parent | c14c4165ea95bf60b2f90974905a85be5f7d9919 (diff) | |
download | website-4d84c2a622929d6ff5ab7f40697bc4e47f76e057.tar.gz website-4d84c2a622929d6ff5ab7f40697bc4e47f76e057.zip |
themes: Remove terrassa theme
Diffstat (limited to 'themes/terrassa/layouts/partials')
-rw-r--r-- | themes/terrassa/layouts/partials/cta-btn.html | 4 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/fontawesome.html | 15 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/footer.html | 66 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/hamburger-menu.html | 18 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/head.html | 21 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/header.html | 14 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/hero.html | 10 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/menu.html | 13 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/scripts.html | 8 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/section.html | 6 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/sections.html | 14 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/separator.html | 3 | ||||
-rw-r--r-- | themes/terrassa/layouts/partials/styles.html | 11 |
13 files changed, 0 insertions, 203 deletions
diff --git a/themes/terrassa/layouts/partials/cta-btn.html b/themes/terrassa/layouts/partials/cta-btn.html deleted file mode 100644 index 81f63a0..0000000 --- a/themes/terrassa/layouts/partials/cta-btn.html +++ /dev/null @@ -1,4 +0,0 @@ -<a href="{{ $.Site.BaseURL }}{{ $.Site.Params.cta.link }}" class="ripple-btn cta__btn" alt="{{ $.Site.Params.cta.cta }}" - aria-label="{{ $.Site.Params.cta.cta }}"> - {{ $.Site.Params.cta.cta }} -</a>
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/fontawesome.html b/themes/terrassa/layouts/partials/fontawesome.html deleted file mode 100644 index 6cc5fd5..0000000 --- a/themes/terrassa/layouts/partials/fontawesome.html +++ /dev/null @@ -1,15 +0,0 @@ -{{ $version := "5.7.2" }} -{{ $integrity := "sha384-0pzryjIRos8mFBWMzSSZApWtPl/5++eIfzYmTgBBmXYdhvxPc+XcFEk+zJwDgWbP" }} -{{ if and $.Site.Params.fa.version $.Site.Params.fa.integrity }} -{{ $version = $.Site.Params.fa.version }} -{{ $integrity = $.Site.Params.fa.integrity }} -{{ end }} - -{{ $src := printf "%s%s%s" "https://use.fontawesome.com/releases/v" $version "/js/all.js" }} - -<script - defer - src="{{ $src }}" - integrity="{{ $integrity }}" - crossorigin="anonymous" -></script> diff --git a/themes/terrassa/layouts/partials/footer.html b/themes/terrassa/layouts/partials/footer.html deleted file mode 100644 index b2b27bc..0000000 --- a/themes/terrassa/layouts/partials/footer.html +++ /dev/null @@ -1,66 +0,0 @@ -<footer class="footer"> - {{ if $.Site.Params.social }} - {{ $items := $.Site.Params.social }} - {{ $len := (len $items) }} - - {{ if gt $len 0 }} - <div class="footer__social"> - {{ range $k, $v := $items }} - {{ if $v}} - <a href="{{ $v }}" class="footer__social__link" alt="{{ $k }}" target="_blank" aria-label="{{ $v }}" rel="noopener"> - <span> - <i class="fab fa-{{ $k }}"></i> - </span> - </a> - {{ end }} - {{ end }} - </div> - {{ end }} - {{ end }} - - <address class="footer__contact"> - {{ if $.Site.Params.contact.email }} - <p class="footer__contact__item"> - <span><i class="far fa-envelope"></i></span> - <a href="mailto:{{ $.Site.Params.contact.email}}" class="footer__contact__link" alt="Email"> - {{ $.Site.Params.contact.email }} - </a> - </p> - {{ end }} - - {{ if $.Site.Params.contact.phone }} - <p class="footer__contact__item"> - <span><i class="fas fa-phone"></i></span> - <a href="tel:{{ $.Site.Params.contact.phone }}" class="footer__contact__link" alt="Phone"> - {{ $.Site.Params.contact.phone }} - </a> - </p> - {{ end }} - - {{ if $.Site.Params.contact.skype }} - <p class="footer__contact__item"> - <span><i class="fab fa-skype"></i></span> - <a href="skype:{{ $.Site.Params.contact.skype }}" class="footer__contact__link" alt="Skype"> - {{ $.Site.Params.contact.skype }} - </a> - </p> - {{ end }} - - {{ if $.Site.Params.contact.address }} - <p class="footer__contact__item"> - <span><i class="fas fa-map-marker-alt"></i></span> - {{ $.Site.Params.contact.address }} - </p> - {{ end }} - </address> - - <div class="copy"> - {{ if $.Site.Params.copy.copy }} - <p>{{ $.Site.Params.copy.copy }}</p> - {{ else }} - <p>© {{ now.Format "2006" }} - {{ $.Site.Title }}</p> - {{ end }} - </div> - - {{ partial "scripts.html" . }} -</footer>
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/hamburger-menu.html b/themes/terrassa/layouts/partials/hamburger-menu.html deleted file mode 100644 index 40a9ad8..0000000 --- a/themes/terrassa/layouts/partials/hamburger-menu.html +++ /dev/null @@ -1,18 +0,0 @@ -<nav class="hamburger-menu" aria-label="mobile-menu"> - <div class="toggle"> - <input type="checkbox" class="hamburger__toggle" id="hamburgerToggle" name="hamburger toggle" aria-label="Hamburguer menu"> - <label class="hamburger__toggle__icon" for="hamburgerToggle"> - <i class="fas fa-bars"></i> - </label> - - <ul class="hamburger__items" aria-label="mobile-menu"> - {{ range .Site.Menus.main }} - <li class="hamburger__items__item" aria-label="{{ .Name }}"> - <a href="{{ .URL }}" class="hamburger__items__item__link" alt="{{ .Name }}" role="menuitem"> - {{ .Name }} - </a> - </li> - {{ end }} - </ul> - </div> -</nav>
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/head.html b/themes/terrassa/layouts/partials/head.html deleted file mode 100644 index 8d0b97f..0000000 --- a/themes/terrassa/layouts/partials/head.html +++ /dev/null @@ -1,21 +0,0 @@ -<head> - <meta charset="UTF-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="robots" content="index, follow" /> - <meta name="googlebot" content="index, follow, noarchive" /> - <title>{{ $.Site.Title }} - {{ .Title }}</title> - <link rel="icon" href="{{ $.Site.BaseURL }}{{ $.Site.Params.favicon }}" /> - <meta name="description" content="{{ $.Site.Params.description }}" /> - - {{ hugo.Generator }} - - {{ if .Site.GoogleAnalytics }} - {{ template "_internal/google_analytics.html" . }} - {{ end }} - - {{ template "_internal/twitter_cards.html" . }} - {{ template "_internal/opengraph.html" . }} - - <!-- CSS --> - {{ partial "styles.html" . }} -</head> diff --git a/themes/terrassa/layouts/partials/header.html b/themes/terrassa/layouts/partials/header.html deleted file mode 100644 index 212f470..0000000 --- a/themes/terrassa/layouts/partials/header.html +++ /dev/null @@ -1,14 +0,0 @@ -<header class="header"> - <div class="header__title"> - <a href="{{ $.Site.BaseURL }}" class="header__title__link" alt="Home"> - {{ if $.Site.Params.logo }} - <img src="{{ $.Site.BaseURL }}{{ $.Site.Params.logo }}" class="header__title__logo" alt="{{ $.Site.Title }}"> - {{ else }} - {{ $.Site.Title }} - {{ end }} - </a> - </div> - - {{ partial "menu.html" . }} - {{ partial "hamburger-menu.html" . }} -</header>
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/hero.html b/themes/terrassa/layouts/partials/hero.html deleted file mode 100644 index d3c2a30..0000000 --- a/themes/terrassa/layouts/partials/hero.html +++ /dev/null @@ -1,10 +0,0 @@ -<main class="hero" {{ if $.Params.images }} - style="background-image: url('{{ $.Site.BaseURL }}images/{{ print (index $.Params.images 0) }}');" {{ end }}> - <div class="hero__caption" {{ if $.Site.Params.hero.textColor }} style="color: {{ $.Site.Params.hero.textColor }};" - {{ end }}> - {{ .Content }} - {{ if $.Site.Params.cta.show }} - {{ partial "cta-btn.html" . }} - {{ end }} - </div> -</main>
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/menu.html b/themes/terrassa/layouts/partials/menu.html deleted file mode 100644 index abfb92b..0000000 --- a/themes/terrassa/layouts/partials/menu.html +++ /dev/null @@ -1,13 +0,0 @@ -<nav class="menu" aria-label="menu"> - <ul class="menu__items" aria-label="menu"> - {{ $current := . }} - {{ range .Site.Menus.main }} - <li class="menu__items__item" aria-label="{{ .Name }}"> - <a href="{{ .URL }}" class="menu__items__item__link {{ if $current.IsMenuCurrent "main" . }}active{{ end }}" - alt="{{ .Name }}" role="menuitem"> - {{ .Name }} - </a> - </li> - {{ end }} - </ul> -</nav>
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/scripts.html b/themes/terrassa/layouts/partials/scripts.html deleted file mode 100644 index 63e20b1..0000000 --- a/themes/terrassa/layouts/partials/scripts.html +++ /dev/null @@ -1,8 +0,0 @@ -{{ $header := resources.Get "js/header.js" }} -{{ $form := resources.Get "js/form.js" }} -{{ $bundle := slice $header $form | resources.Concat "js/bundle.js" }} -{{ $js := $bundle | resources.Minify | resources.Fingerprint "sha512" }} - -<script src="{{ $js.Permalink }}"></script> - -{{ partial "fontawesome.html" . }} diff --git a/themes/terrassa/layouts/partials/section.html b/themes/terrassa/layouts/partials/section.html deleted file mode 100644 index ef05877..0000000 --- a/themes/terrassa/layouts/partials/section.html +++ /dev/null @@ -1,6 +0,0 @@ -<section class="section"> - <h1 class="section__title">{{ .Title }}</h1> - <div class="section__content"> - {{ .Content }} - </div> -</section>
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/sections.html b/themes/terrassa/layouts/partials/sections.html deleted file mode 100644 index eda7fd2..0000000 --- a/themes/terrassa/layouts/partials/sections.html +++ /dev/null @@ -1,14 +0,0 @@ -{{ $items := (where $.Site.RegularPages "Type" "sections") }} -{{ $len := (len $items) }} - -{{ range $i, $e := $items }} -{{ partial "section.html" . }} - -{{ if ne (add $i 1) $len }} - -{{ if $.Site.Params.separator.show }} -{{ partial "separator.html" . }} -{{ end }} - -{{ end }} -{{ end}}
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/separator.html b/themes/terrassa/layouts/partials/separator.html deleted file mode 100644 index e890b22..0000000 --- a/themes/terrassa/layouts/partials/separator.html +++ /dev/null @@ -1,3 +0,0 @@ -<div class="separator"> - <i class="fas fa-circle"></i> -</div>
\ No newline at end of file diff --git a/themes/terrassa/layouts/partials/styles.html b/themes/terrassa/layouts/partials/styles.html deleted file mode 100644 index cf06c3a..0000000 --- a/themes/terrassa/layouts/partials/styles.html +++ /dev/null @@ -1,11 +0,0 @@ -{{ $reset := resources.Get "css/reset.css" }} -{{ $base := resources.Get "css/base.css" }} -{{ $style := resources.Get "css/style.css" }} -{{ $media := resources.Get "css/media-queries.css" }} -{{ $animations := resources.Get "css/animations.css" }} -{{ $custom := resources.Get "css/custom.css" }} -{{ $bundle := slice $reset $base $style $media $animations $custom | resources.Concat "css/bundle.css" }} - -{{ $css := $bundle | resources.Minify }} - -<link rel="stylesheet" href="{{ $css.Permalink }}">
\ No newline at end of file |