Skip to content

Commit cf4a654

Browse files
author
Andrei Naidenov
committed
test post covers and images
1 parent 5564dfd commit cf4a654

6 files changed

Lines changed: 10 additions & 17 deletions

File tree

archetypes/post.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ ShowRssButtonInSectionTermList: true
2626
UseHugoToc: true
2727
cover:
2828
image: "<image path/url>" # image path/url
29-
alt: "<alt text>" # alt text
30-
caption: "<text>" # display caption under cover
31-
relative: false # when using page bundles set this to true
32-
hidden: true # only hide on current single page
29+
hidden: false
30+
hiddenInList: true
3331
# editPost:
3432
# URL: "https://github.com/<path_to_repo>/content"
3533
# Text: "Suggest Changes" # edit text

content/posts/focus-on-tasks-not-commands.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ ShowWordCount: true
1818
ShowRssButtonInSectionTermList: true
1919
UseHugoToc: true
2020
cover:
21-
image: "<image path/url>" # image path/url
22-
alt: "<alt text>" # alt text
23-
caption: "<text>" # display caption under cover
24-
relative: false # when using page bundles set this to true
25-
hidden: true # only hide on current single page
21+
image: images/bash_logo.png
22+
hiddenInList: true
2623
# editPost:
2724
# URL: "https://github.com/<path_to_repo>/content"
2825
# Text: "Suggest Changes" # edit text

content/posts/test-post-1.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ ShowWordCount: true
2525
ShowRssButtonInSectionTermList: true
2626
UseHugoToc: true
2727
cover:
28-
image: "<image path/url>" # image path/url
29-
alt: "<alt text>" # alt text
30-
caption: "<text>" # display caption under cover
31-
relative: false # when using page bundles set this to true
32-
hidden: true # only hide on current single page
28+
image: images/SCR-20240819-mzat.png # image path/url
3329
# editPost:
3430
# URL: "https://github.com/<path_to_repo>/content"
3531
# Text: "Suggest Changes" # edit text
@@ -40,6 +36,8 @@ cover:
4036

4137
Testing.
4238

39+
![ima](/images/SCR-20240819-mzat.png)
40+
4341
### Heading 3
4442

4543
This is my first post using this platform.

hugo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ tocopen = false
8383
url = "https://github.com/andreiyard"
8484

8585
[params.cover]
86-
hidden = true
87-
hiddenInList = true
88-
hiddenInSingle = true
86+
hidden = false
87+
hiddenInList = false
88+
hiddenInSingle = false
8989

9090
[params.editPost]
9191
URL = "https://github.com/andreiyard/andreiyard.github.com/blob/main/content"

static/images/bash_logo.png

30.6 KB
Loading

static/images/bash_logo.png.bkp

24.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)