From a8bd5ee8c5c3a66512a2c619e5aac45965e0032c Mon Sep 17 00:00:00 2001 From: kdevo Date: Tue, 4 May 2021 22:09:00 +0200 Subject: :pencil: Improve gallery archetype defaults and docs --- archetypes/gallery.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/archetypes/gallery.md b/archetypes/gallery.md index e5037e7..62a02db 100644 --- a/archetypes/gallery.md +++ b/archetypes/gallery.md @@ -22,12 +22,12 @@ color: "#fff" # [css] Optional gallery item hover color to set it individually. #hoverColor: "#fff" # [map] Configure github specific options here: -github: - # [str] Repo is a combination of "{user_or_org}/{repository_name}", e.g. "kdevo/osprey-delight. - #repo: "YOUR-GITHUB-NAME/{{ .TranslationBaseName }}" +# github: + # [str] Repo is a combination of "{user_or_org}/{repository_name}" + # repo: "kdevo/osprey-delight" # [bool] Show repository information such project language below the buttons. - showInfo: true - showButtons: true + # showInfo: true + # showButtons: true # [map] Configure optional terminal to be displayed when opening up the gallery item: # Example (set "useTermynal" to true in config.yaml and comment out to test it): terminal: @@ -42,7 +42,7 @@ terminal: # wait: 75 buttons: - i18n: view # i18n key (see i18n directory, see https://gohugo.io/functions/i18n/) - icon: angle-circled-right # optional: use an icon (in this case arrow right) + icon: view # optional: use an icon from icons.yaml newTab: false # optional: controls if url should be opened in new tab url: "" - i18n: code -- cgit v1.2.3