|
| 1 | +--- |
| 2 | +# [str] Title of the project. This is also visible when hovering over a gallery item. |
| 3 | +title: "My Item" |
| 4 | +# [str] Optional subtitle of the project. |
| 5 | +# Functions as an additional explanation when hovering over a gallery item (comment out the following line). |
| 6 | +# subtitle: "" |
| 7 | +# [date] Project publication date. |
| 8 | +# Changes order: The newest item will be displayed first in the gallery. |
| 9 | +# Just like Hugo's natural ordering, this is anti-chronological. |
| 10 | +# You can use 'weight' to order (primarily) for more control (sometimes it makes sense to put old items before new ones). |
| 11 | +# The specifics are documented here: https://gohugo.io/templates/lists/#order-content |
| 12 | +date: "2025-06-06T14:57:58+01:00" |
| 13 | +# [str] Gallery image file from the assets directory. |
| 14 | +image: "images/my-item.png" |
| 15 | +# [str] Alternative (image) description. |
| 16 | +alt: "" |
| 17 | +# [css] Optional background color of the gallery item (if omitted, will use theme's fallback). |
| 18 | +color: "#fff" |
| 19 | +# [css] Optional gallery item hover color (if omitted, will use theme's fallback). |
| 20 | +#hoverColor: "#fff" |
| 21 | +# [map] Configure github specific options here: |
| 22 | +# github: |
| 23 | + # [str] Repo is a combination of "<user_or_org>/<repository_name>" |
| 24 | + # repo: "<username>/my-item" |
| 25 | + # [bool] Show repository information such project language below the buttons. |
| 26 | + # showInfo: true |
| 27 | + # showButtons: true |
| 28 | +# [map] Optionally configure terminal to be displayed when opening up the gallery item: |
| 29 | +# Example (set "useTermynal" to true in config.yaml and comment out to test it): |
| 30 | +# terminal: |
| 31 | + # lines: |
| 32 | + # - type: input |
| 33 | + # data: hugo mod get -u github.com/hugo-mods/lazyimg |
| 34 | + # wait: 1250 |
| 35 | + # - type: progress |
| 36 | + # data: 100 |
| 37 | + # wait: 200 |
| 38 | + # - data: ✓ Done. |
| 39 | + # wait: 75 |
| 40 | + # - data: exit |
| 41 | + # wait: 75 |
| 42 | +buttons: |
| 43 | + - i18n: view # i18n key (see i18n directory, see https://gohugo.io/functions/i18n/) |
| 44 | + icon: view # optional: use an icon from icons.yaml |
| 45 | + newTab: false # optional: controls if url should be opened in new tab |
| 46 | + url: "" |
| 47 | + - i18n: code |
| 48 | + icon: code |
| 49 | + url: "" |
| 50 | +# [bool] Draft mode will decide if file will be published to 'public/' directory. |
| 51 | +draft: false |
| 52 | +--- |
0 commit comments