work in progress: example site; set up theme.toml

This commit is contained in:
Helmut Merz 2022-02-19 16:52:07 +01:00
parent 97512f2276
commit ece34571b5
15 changed files with 175 additions and 64 deletions

View file

@ -1,3 +1,10 @@
# config.yaml
module:
hugoVersion:
extended: true
min: 0.91.2
frontmatter: frontmatter:
date: date:
- date - date

65
exampleSite/config.yaml Normal file
View file

@ -0,0 +1,65 @@
baseurl: /
DefaultContentLanguage: en
title: cybercards theme
theme: cybercards
themesDir: themes
paginate: 6
markup:
goldmark:
renderer:
unsafe: true
params:
#defaultImage: 9609-motor2.jpg
logo: logo-matrix.png
favicon: icon-star.png
github: https://github.com/cyberconcepts
sourcehut: https://git.sr.ht/~cco
email: team@cyberconcepts.org
copyright:
name: cyberconcepts.org team
link: https://www.cyberconcepts.org
legal:
name: Legal Statement
path: pages/legal
privacy:
name: Privacy Statement
path: pages/privacy
frontmatter:
_merge: shallow
related:
_merge: shallow
taxonomies:
domain: domains
topic: topics
related:
includeNewer: true
indices:
- name: parents
weight: 100
- name: topics
weight: 100
threshold: 80
toLower: true
menu:
main:
- identifier: home
name: Home
title: Home
url: /
weight: 10
- identifier: topics
name: Topics
title: Topics
url: /topics/
weight: 20

View file

@ -1,19 +1,9 @@
--- ---
layout: page
title: About title: About
permalink: /about/
--- ---
*cybercards* is a theme based on [Hugo cards](https://themes.gohugo.io/themes/hugo-cards/) which in turn is a port of the Jekyll theme [Webjeda-cards](https://webjeda.com/cards/). Any Bootstrap element can be used in the theme.
Hugo cards is a Bootstrap based theme ported from the Jekyll theme [Webjeda-cards](https://webjeda.com/cards/). Any Bootstrap element can be used in the theme.
For more themes, visit [Hugo Themes](https://themes.gohugo.io/) For more themes, visit [Hugo Themes](https://themes.gohugo.io/)
**Does the theme deserve a star?**
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/bul-ikana/hugo-cards" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star bul-ikana/hugo-cards on GitHub">Star</a>
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>

View file

@ -1,10 +1,15 @@
--- ---
layout: page
title: Contact title: Contact
permalink: /contact/
--- ---
Visit [my site](https://bool.netlify.com) **Helmut Merz, cyberconcepts IT-Consulting**
Insert your contact details or a contact form here. Am Steinigen Graben 8
D-86911 Diessen
Braunschweiger Strasse 41
D-12055 Berlin
Phone +49-163-6865618
Email h.merz@cyberconcepts.de
Web [www.cyberconcepts.de](http://www.cyberconcepts.de)

View file

@ -0,0 +1,16 @@
---
title: "Legal Statement"
author: helmutm
---
**Helmut Merz, cyberconcepts IT-Consulting**
Am Steinigen Graben 8
D-86911 Diessen
Braunschweiger Strasse 41
D-12055 Berlin
Phone +49-163-6865618
Email h.merz@cyberconcepts.de
Web [www.cyberconcepts.de](http://www.cyberconcepts.de)

View file

@ -0,0 +1,35 @@
---
title: "Privacy Statement"
author: helmutm
---
### 1. Name and Address of Responsible Person
Der Verantwortliche im Sinne der Datenschutz-Grundverordnung und anderer nationaler Datenschutzgesetze der Mitgliedsstaaten sowie sonstiger datenschutzrechtlicher Bestimmungen ist:
cyberconcepts IT-Consulting
Dr. Helmut Merz
Am Steinigen Graben 8
D-86911 Dießen
Phone +49-163-6865618
Email h.merz@cyberconcepts.de
### 2. Collection and Processing of Personal Data
Bei dem Besuch dieser Website werden auf unserem Server in sogenannten Logdateien Informationen gespeichert, die uns Ihr Browser übermittelt (Uhrzeit der Serveranfrage, IP-Adresse, Browsertyp/-version, verwendetes Betriebssystem, Referrer URL). Diese Daten werden automatisch nach vier Kalenderwochen gelöscht. Die Speicherung dieser Informationen in Server-Log-Daten ist für die Sicherheit und den Schutz dieser Website erforderlich. Eine Zuordnung der Daten zu bestimmten Personen ist nicht möglich, personenbezogene Daten werden nicht erhoben, es findet keinerlei Auswertung der Informationen in den Logdateien statt, die über das Erkennen und die Abwehr von Angriffen auf die Website hinausgeht.
### 3. Information on Personal Data, Correction and Removal of Data
This website does not store any user-related personal data.
### 4. Cookies
This website does not use any cookies.
### 5. No Responsibility for Links to Other Websites
Diese Website kann Links zu Websiten anderer Anbieter enthalten, auf die sich diese Datenschutzerklärung nicht erstreckt. Diese Anbieter sind für die Einhaltung der datenschutzrechtlichen Regelungen selbst verantwortlich und haben in der Regel eigene Datenschutzerklärungen. Für diese Internetseitenund Dienste sowie Erklärungen übernehmen wir keine Haftung.
### 6. Web Analytic Services
This website does not use any analytic services; it does not record or track any user activity.

View file

@ -1,12 +0,0 @@
---
layout: post
title: Documentation
img: image-5.png
tags: ["tag_a", "tag_b"]
date: 2016-03-09
---
Nulla vel ante sit amet leo imperdiet porta. Mauris pellentesque finibus ligula non dignissim. Sed sed vehicula velit. Ut eleifend velit maximus massa lobortis mattis. In dui quam, rutrum eu purus et, mattis consequat ex. Vivamus risus mauris, ultricies vel dolor eget, aliquet tristique est. Suspendisse odio urna, vehicula vel diam at, pulvinar porttitor metus. Sed ac ipsum et magna aliquam mattis in eleifend mi. Pellentesque porttitor diam nec hendrerit efficitur. In hac habitasse platea dictumst. Nam arcu enim, imperdiet quis molestie molestie, molestie non diam. Quisque pretium felis in lorem placerat rhoncus eu et lorem. Praesent tincidunt purus sed mi lacinia maximus. Curabitur rutrum tempus posuere. Donec quis fringilla enim. Nullam nisl nisl, vestibulum sed enim vel, tempor pulvinar ligula.
Mauris tincidunt ligula et erat ullamcorper varius. Nunc sit amet lacus ullamcorper, suscipit sem in, interdum dui. Nam ultricies, dui eget aliquet mollis, erat ipsum luctus eros, sed pulvinar nulla velit ut nibh. Mauris sed molestie turpis. Curabitur vehicula eros lectus, ac venenatis justo fringilla eget. Phasellus fringilla molestie diam vel aliquet. Nunc orci lorem, laoreet eget blandit nec, vestibulum eu urna. Ut gravida egestas massa, in auctor nisl iaculis id. In hac habitasse platea dictumst. Fusce nec massa ullamcorper, posuere nisl et, feugiat risus. Morbi metus risus, facilisis aliquam risus porta, volutpat viverra leo. Praesent vestibulum, orci in consectetur aliquet, lacus metus suscipit risus, a dignissim eros nibh sed purus. Nullam in magna non nulla ultricies aliquam. Nullam malesuada rhoncus est, in vehicula lacus mattis vel. Nam et velit dignissim, consectetur est ac, imperdiet nulla. Nunc feugiat facilisis ipsum, quis porttitor quam mattis in.

View file

@ -1,7 +1,7 @@
--- ---
layout: post layout: post
title: "Elements" title: "Elements"
img: image-4.png img:
tags: ["tag_a", "tag_c"] tags: ["tag_a", "tag_c"]
date: "2016-04-10" date: "2016-04-10"
--- ---

View file

@ -0,0 +1,16 @@
---
title: Installation
summary: Installation and set-up of the *cybercards* theme
img: image-1.png
pageid: documentation
topics: [Documentation, Installation]
date: 2022-02-19
---
## Installation
### Prerequisite for CSS generation
All CSS will be generated during site generation from `.scss` source files that use the [Bootstrap toolkit](https://getbootstrap.com/). This only works if the `.scss` source files can be found in the right place in your `themes` folder. The current version of the *cybercards* uses Bootstrap version 5.1.3.
Please download the Bootstrap toolkit source files from the [Bootstrap download page](https://getbootstrap.com/docs/5.1/getting-started/download/) (or use this link: [Bootstrap source v5.1.3](https://github.com/twbs/bootstrap/archive/v5.1.3.zip])), unpack it and copy or move the `scss` folder to a folder `themes/common/bootstrap` (a subfolder of the `themes` folder that contains the `cybercards` theme folder).

View file

@ -1,11 +0,0 @@
---
layout: post
title: "Installation"
img: image-3.png
categories: [one]
tags: ["tag_c"]
date: 2016-05-09
---
Nulla vel ante sit amet leo imperdiet porta. Mauris pellentesque finibus ligula non dignissim. Sed sed vehicula velit. Ut eleifend velit maximus massa lobortis mattis. In dui quam, rutrum eu purus et, mattis consequat ex. Vivamus risus mauris, ultricies vel dolor eget, aliquet tristique est. Suspendisse odio urna, vehicula vel diam at, pulvinar porttitor metus. Sed ac ipsum et magna aliquam mattis in eleifend mi. Pellentesque porttitor diam nec hendrerit efficitur. In hac habitasse platea dictumst. Nam arcu enim, imperdiet quis molestie molestie, molestie non diam. Quisque pretium felis in lorem placerat rhoncus eu et lorem. Praesent tincidunt purus sed mi lacinia maximus. Curabitur rutrum tempus posuere. Donec quis fringilla enim. Nullam nisl nisl, vestibulum sed enim vel, tempor pulvinar ligula.
Mauris tincidunt ligula et erat ullamcorper varius. Nunc sit amet lacus ullamcorper, suscipit sem in, interdum dui. Nam ultricies, dui eget aliquet mollis, erat ipsum luctus eros, sed pulvinar nulla velit ut nibh. Mauris sed molestie turpis. Curabitur vehicula eros lectus, ac venenatis justo fringilla eget. Phasellus fringilla molestie diam vel aliquet. Nunc orci lorem, laoreet eget blandit nec, vestibulum eu urna. Ut gravida egestas massa, in auctor nisl iaculis id. In hac habitasse platea dictumst. Fusce nec massa ullamcorper, posuere nisl et, feugiat risus. Morbi metus risus, facilisis aliquam risus porta, volutpat viverra leo. Praesent vestibulum, orci in consectetur aliquet, lacus metus suscipit risus, a dignissim eros nibh sed purus. Nullam in magna non nulla ultricies aliquam. Nullam malesuada rhoncus est, in vehicula lacus mattis vel. Nam et velit dignissim, consectetur est ac, imperdiet nulla. Nunc feugiat facilisis ipsum, quis porttitor quam mattis in.

View file

@ -1,6 +1,6 @@
--- ---
title: "Usage Guide" title: "Usage Guide"
img: image-2.png img:
categories: [two] categories: [two]
date: "2016-06-12" date: "2016-06-12"
--- ---

View file

@ -1,7 +1,7 @@
--- ---
title: "Welcome to Hugo!" title: "Welcome to Hugo!"
date: 2016-06-13 10:51:47 +0530 date: 2016-06-13 10:51:47 +0530
img: "image-1.png" img:
categories: [one, two] categories: [one, two]
author: "Hugo Aguirre" author: "Hugo Aguirre"
--- ---

View file

@ -1,5 +1,5 @@
# #
# de.yaml 2022-01-09 # de.yaml 2022-02-19
# #
about: about:
@ -21,8 +21,8 @@ author:
other: Autor other: Autor
backlinks: backlinks:
other: Backlinks #other: Backlinks
#other: Links auf diese Seite other: Links zu dieser Seite
child-articles: child-articles:
other: Untergeordnete Artikel other: Untergeordnete Artikel

20
theme.toml Normal file
View file

@ -0,0 +1,20 @@
# theme.toml
name = "cybercards"
license = "MIT"
licenselink = "https://github.com/cyberconcepts/cybercards/blob/master/LICENSE.md"
description = "A bootstrap based minimal hugo theme based on Hugo cards and webjeda-cards"
homepage = "https://www.cyberconcepts.org"
tags = ["bootstrap", "cards", "responsive", "jekyll", "blog"]
features = []
min_version = "0.91.0"
[author]
name = "cyberconcepts.org team"
homepage = "https://www.cyberconcepts.org"
# If porting an existing theme
[original]
name = "Hugo cards"
homepage = "https://themes.gohugo.io/themes/hugo-cards/"
repo = ""

View file

@ -1,20 +0,0 @@
# theme.yaml
name: cybercards
license: "MIT"
licenselink: "https://github.com/bul-ikana/hugo-cards/blob/master/LICENSE.md"
description: "A bootstrap based minimal hugo theme based on webjeda-cards"
homepage: "https://www.cyberconcepts.org"
tags: ["bootstrap", "cards", "responsive", "jekyll", "blog"]
features: []
min_version: "0.57.0"
author:
name: "cyberconcepts.org team"
homepage: "https://www.cyberconcepts.org"
# If porting an existing theme
original:
name: "Webjeda-cards"
homepage: "https://webjeda.com/cards/"
repo: "https://github.com/sharu725/cards"