From e8cc7d8fc67980e29c44ca3115554c23ee8f7ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Wed, 21 Dec 2022 21:13:28 +0000 Subject: [PATCH] final small fixes --- .../content/samples/diagrams-flowcharts.md | 9 +++++ .../partials/recent-articles-demo.html | 33 ++++++++----------- package.json | 2 +- 3 files changed, 24 insertions(+), 20 deletions(-) diff --git a/exampleSite/content/samples/diagrams-flowcharts.md b/exampleSite/content/samples/diagrams-flowcharts.md index 1dafbd22..9e186fb5 100755 --- a/exampleSite/content/samples/diagrams-flowcharts.md +++ b/exampleSite/content/samples/diagrams-flowcharts.md @@ -14,6 +14,7 @@ The examples below are a small selection taken from the [official Mermaid docs]( ## Flowchart +
{{< mermaid >}} graph TD A[Christmas] -->|Get money| B(Go shopping) @@ -30,9 +31,11 @@ F G end {{< /mermaid >}} +
## Sequence diagram +
{{< mermaid >}} sequenceDiagram autonumber @@ -50,9 +53,11 @@ loop Every minute John-->Alice: Great! end {{< /mermaid >}} +
## Class diagram +
{{< mermaid >}} classDiagram Animal "1" <|-- Duck @@ -76,9 +81,11 @@ class Zebra{ +run() } {{< /mermaid >}} +
## Entity relationship diagram +
{{< mermaid >}} erDiagram CUSTOMER }|..|{ DELIVERY-ADDRESS : has @@ -90,3 +97,5 @@ ORDER ||--|{ ORDER-ITEM : includes PRODUCT-CATEGORY ||--|{ PRODUCT : contains PRODUCT ||--o{ ORDER-ITEM : "ordered in" {{< /mermaid >}} +
+ diff --git a/exampleSite/layouts/partials/recent-articles-demo.html b/exampleSite/layouts/partials/recent-articles-demo.html index 25ff4965..cf73aeed 100644 --- a/exampleSite/layouts/partials/recent-articles-demo.html +++ b/exampleSite/layouts/partials/recent-articles-demo.html @@ -8,7 +8,8 @@
- This is a demo of theme's list configurations: card view with constrained width + This is a demo of theme's list configurations: card view with constrained width
-
-
- {{ range first $recentArticles (.Paginate (where .Site.RegularPages "Type" "in" - .Site.Params.mainSections)).Pages }} -
- {{ partial "article-link-card.html" . }} -
- {{ end }} -
+
+ {{ range first $recentArticles (.Paginate (where .Site.RegularPages "Type" "in" + .Site.Params.mainSections)).Pages }} + {{ partial "article-link-card.html" . }} + {{ end }}
diff --git a/package.json b/package.json index b4f5198d..faa58bdc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-blowfish-theme", - "version": "2.18.0", + "version": "2.19.0", "description": "Blowfish theme for Hugo", "scripts": { "fullinstall": "npm run preinstall && npm install && npm run postinstall",