From 19b369f11b88e3baf02728c6e5044aca4b3c2d71 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Sun, 26 Apr 2020 17:24:40 +0200 Subject: [PATCH] work in progress... --- README.md | 42 +++-------------------- archetypes/default.md | 8 +++-- layouts/taxonomy/tag.html | 70 --------------------------------------- 3 files changed, 10 insertions(+), 110 deletions(-) delete mode 100644 layouts/taxonomy/tag.html diff --git a/README.md b/README.md index f97e5d9..4cc8751 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ -# Hugo cards +# cybercards -A Hugo theme, ported from [Webjeda-cards](http://webjeda.com/cards) +A Hugo theme, ported from [Hugo Cards](https://github.com/bul-ikana/hugo-cards), +which is itself ported from [Webjeda-cards](http://webjeda.com/cards) ![Screenshot](https://github.com/bul-ikana/hugo-cards/blob/master/images/screenshot.png) @@ -8,47 +9,12 @@ A Hugo theme, ported from [Webjeda-cards](http://webjeda.com/cards) Responsive theme built on bootstrap. Great for showcasing content with featured images. -Easily add disqus, google analytics, social links and a facebook like box. - ## Configuration -Please see the sample [`config.toml`](https://github.com/bul-ikana/hugo-cards/blob/master/exampleSite/config.toml). +Please see the exampleSite. ### Social links -#### facebook -A link to your facebook profile or page. This will show in the footer. - -#### quora -A link to your quora profile. This will show in the footer. - -#### twitter -A link to your twitter profile. This will show in the footer. - -#### github -A link to your github profile. This will show in the footer. - #### email Your email address. This will show in the footer and will opes as a `mailto:`. -### Facebook like box - -#### fbLikeBox -Wheter you want to show a facebook like box. Accepted values are `yes` or `no`. Leave empty for `no` - -#### fbAppId -The app id you obtained from facebook developers page. - -#### fbPageUrl -A link to the facebook page or profile that will be shown in the like box. - -#### fbPageTitle -The title of the like box. This text will be shown while the box is loading. - -### Tracking and comments - -#### analytics -The Google Analytics tracking ID - -#### disqus -The disqus_thread ID diff --git a/archetypes/default.md b/archetypes/default.md index ac36e06..00e77bd 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,2 +1,6 @@ -+++ -+++ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html deleted file mode 100644 index 8fb638d..0000000 --- a/layouts/taxonomy/tag.html +++ /dev/null @@ -1,70 +0,0 @@ -{{ define "main" }} - -
- - - - -
-
-
- {{ if gt .Paginator.TotalPages 1 }} -
    - {{ if .Paginator.HasPrev }} -
  • « Prev
  • - {{ else }} -
  • « Prev
  • - {{ end }} - - {{ $scratch := newScratch }} - {{ $scratch.Set "current" .Paginator.PageNumber }} - - {{ range .Paginator.Pagers }} - {{ if eq .PageNumber ($scratch.Get "current") }} -
  • {{ .PageNumber }}
  • - {{ else }} -
  • {{ .PageNumber }}
  • - {{ end }} - {{ end }} - - {{ if .Paginator.HasNext }} -
  • Next »
  • - {{ else }} -
  • Next »
  • - {{ end }} -
- {{ end }} - -
-
-
-
- -{{ end }}