Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thegeeklab/hugo-geekblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Kaussow <mail@thegeeklab.de>2022-08-31 11:15:13 +0300
committerGitHub <noreply@github.com>2022-08-31 11:15:13 +0300
commitb7de69863af39f8dc0c66d1ce7ec46e16d6d840b (patch)
tree4ce0bb01ef177e414e9bc865ffc672f6744df085 /exampleSite
parent0a01df18857c90575d36c1b8f713d64d8544c9e6 (diff)
feat: add progress shortcode (#305)
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/about/index.md13
-rw-r--r--exampleSite/content/posts/advanced/shortcodes.md36
2 files changed, 44 insertions, 5 deletions
diff --git a/exampleSite/content/about/index.md b/exampleSite/content/about/index.md
index db178f7..027aa6f 100644
--- a/exampleSite/content/about/index.md
+++ b/exampleSite/content/about/index.md
@@ -50,6 +50,19 @@ Dolor sit, sumo unique argument um no. Gracie nominal id xiv. Romanesque acclima
---
+## Skills
+
+<!-- prettier-ignore-start -->
+<!-- spellchecker-disable -->
+{{% progress title=Hacking value=95 icon=gblog_search %}}
+{{% progress title=Cyber-Things value=80 icon=gblog_cloud_off %}}
+{{% progress title=Coding value=65 icon=gblog_code %}}
+{{% progress title=Eating value=85 icon=gblog_heart %}}
+<!-- spellchecker-enable -->
+<!-- prettier-ignore-end -->
+
+---
+
## Contact
<!-- prettier-ignore-start -->
diff --git a/exampleSite/content/posts/advanced/shortcodes.md b/exampleSite/content/posts/advanced/shortcodes.md
index 510a52f..25924c4 100644
--- a/exampleSite/content/posts/advanced/shortcodes.md
+++ b/exampleSite/content/posts/advanced/shortcodes.md
@@ -170,11 +170,11 @@ Hint shortcode can be used as hint/alerts/notification block.
### Attributes
-| Name | Description | default |
-| ---------------- | -------------------------------------------------------------------------------------- | --------- |
-| type | hint type | note |
-| icon (optional) | custom icon to use,need to be an icon from an [SVG sprite](/posts/features/icon-sets/) | undefined |
-| title (optional) | hint title | undefined |
+| Name | Description | default |
+| ---------------- | --------------------------------------------------------------------------------------- | --------- |
+| type | hint type | note |
+| icon (optional) | custom icon to use, need to be an icon from an [SVG sprite](/posts/features/icon-sets/) | undefined |
+| title (optional) | hint title | undefined |
### Usage
@@ -455,3 +455,29 @@ f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
<!-- spellchecker-enable -->
Text continues here.
+
+## Progress
+
+### Attributes
+
+| Name | Description | default |
+| ---------------- | -------------------------------------------------------------------------------- | --------- |
+| value | progress value | 0 |
+| icon (optional) | icon to use, need to be an icon from an [SVG sprite](/posts/features/icon-sets/) | undefined |
+| title (optional) | progress title | undefined |
+
+### Usage
+
+<!-- prettier-ignore-start -->
+```tpl
+{{</* progress title=Eating value=65 icon=gblog_heart */>}}
+```
+<!-- prettier-ignore-end -->
+
+### Example
+
+<!-- prettier-ignore-start -->
+<!-- spellchecker-disable -->
+{{< progress title=Eating value=65 icon=gblog_heart >}}
+<!-- spellchecker-enable -->
+<!-- prettier-ignore-end -->