example site: rename pages

This commit is contained in:
Helmut Merz 2022-02-19 23:06:09 +01:00
parent 028d429588
commit cadc070fbd
6 changed files with 46 additions and 23 deletions

View file

@ -1,9 +1,13 @@
---
layout: post
title: "Elements"
img:
tags: ["tag_a", "tag_c"]
date: "2016-04-10"
title: Components
summary: The parts and components that make up the *cybercards* theme
img: image-5.png
pageid: components
parents: [documentation]
topics: [Documentation, Components]
author: helmut
date: 2022-02-19
weight: 320
---
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.

View file

@ -2,15 +2,20 @@
title: Installation
summary: Installation and set-up of the *cybercards* theme
img: image-1.png
pageid: documentation
pageid: install
parents: [documentation]
topics: [Documentation, Installation]
author: helmut
date: 2022-02-19
weight: 310
---
## Installation
## Installation and set-up of the *cybercards* theme
### 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.
All CSS will be generated during site generation from `.scss` source files using 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. (All other Bootstrap files used by the *cybercards* theme are stored in the Git repository.)
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).
The bootstrap `.scss` source files are then imported during site generation via `cybercards/assets/scss/main.scss`.

View file

@ -1,9 +1,13 @@
---
title: "Welcome to Hugo!"
date: 2016-06-13 10:51:47 +0530
img:
categories: [one, two]
author: "Hugo Aguirre"
title: Overview
summary: What is this all about?
img: image-4.png
pageid: overview
parents: [introduction]
topics: [Hugo, Theme]
author: helmut
date: 2022-02-19
weight: 110
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris erat augue, eleifend nec est quis, iaculis suscipit lacus. In convallis ut mi ac volutpat. Integer feugiat lacinia purus, at condimentum enim tempus vitae. Fusce tempus tortor nibh, ut mollis sapien pulvinar at. Nam nec tortor ante. Phasellus lorem elit, placerat sit amet ligula ac, fermentum vulputate nibh. Quisque sed dapibus risus. Quisque sagittis iaculis maximus. Mauris lorem ligula, commodo in ullamcorper et, mollis ut dui.

View file

@ -1,8 +1,13 @@
---
layout: post
title: "Post with no image"
category: two
date: 2016-06-09
title: Page Configuration
summary: Page parameters and other page-specific settings
img: image-3.png
pageid: pageconfig
parents: [documentation]
topics: [Documentation, Configuration]
author: helmut
date: 2022-02-19
weight: 340
---
When there is no image mentioned in the front-matter, default image will be displayed. You can change this image to any other one that suits your needs.

View file

@ -1,8 +1,13 @@
---
title: "Usage Guide"
img:
categories: [two]
date: "2016-06-12"
title: Structures
summary: How to build a linked index card structure using taxonomies and page references
img: image-2.png
pageid: structures
parents: [documentation]
topics: [Documentation, Structures, Graph, Taxonomy, Links]
author: helmut
date: 2022-02-19
weight: 330
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris erat augue, eleifend nec est quis, iaculis suscipit lacus. In convallis ut mi ac volutpat. Integer feugiat lacinia purus, at condimentum enim tempus vitae. Fusce tempus tortor nibh, ut mollis sapien pulvinar at. Nam nec tortor ante. Phasellus lorem elit, placerat sit amet ligula ac, fermentum vulputate nibh. Quisque sed dapibus risus. Quisque sagittis iaculis maximus. Mauris lorem ligula, commodo in ullamcorper et, mollis ut dui.

View file

@ -26,7 +26,7 @@
{{ end }}
<div class="card-body">
<span class="card-title h4">{{ .Title | truncate 28 }}</span>
<span class="card-title h4">{{ .Title | truncate 30 }}</span>
{{ if and (not .Params.nodate) .Date -}}
<span class="post-meta pull-right">
<small>{{ .Date.Format (i18n "dateFormat") }}</small></span>