aboutsummaryrefslogtreecommitdiff
path: root/themes/terrassa/layouts/_default/card.html
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2019-07-07 12:22:18 +0200
committerDimitri Staessens <dimitri@ouroboros.rocks>2019-07-07 12:22:18 +0200
commit4d84c2a622929d6ff5ab7f40697bc4e47f76e057 (patch)
tree56ad8beed3d1bb23a8d042a9c256bb69773ce03b /themes/terrassa/layouts/_default/card.html
parentc14c4165ea95bf60b2f90974905a85be5f7d9919 (diff)
downloadwebsite-4d84c2a622929d6ff5ab7f40697bc4e47f76e057.tar.gz
website-4d84c2a622929d6ff5ab7f40697bc4e47f76e057.zip
themes: Remove terrassa theme
Diffstat (limited to 'themes/terrassa/layouts/_default/card.html')
-rw-r--r--themes/terrassa/layouts/_default/card.html28
1 files changed, 0 insertions, 28 deletions
diff --git a/themes/terrassa/layouts/_default/card.html b/themes/terrassa/layouts/_default/card.html
deleted file mode 100644
index 6a184f1..0000000
--- a/themes/terrassa/layouts/_default/card.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<article class="card">
- <header class="card__header">
- <h1 class="card__header__title">
- <a href="{{ .Permalink }}" class="card__header__link" alt="{{ .Title }}.">
- {{ .Title }}
- </a>
- </h1>
- {{ if ne .Type "page" }}
- {{ if and $.Site.Params.posts.showDate $.Site.Params.posts.showAuthor }}
- <p class="card__header__date date">
- {{ dateFormat $.Site.Params.posts.dateFormat .Date }} By {{ $.Params.author }}.
- </p>
- {{ else if $.Site.Params.posts.showDate }}
- <p class="card__header__date date">{{ dateFormat $.Site.Params.posts.dateFormat .Date }}</p>
- {{ else if $.Site.Params.posts.showAuthor }}
- <p class="card__header__author author">By {{ $.Params.author }}.</p>
- {{ end }}
- {{ end }}
- </header>
-
- <main class="card__body">
- {{ .Content | truncate 480 }}
- </main>
-
- <footer class="card__footer">
- {{ .Render "tags" }}
- </footer>
-</article> \ No newline at end of file