Skip to content

Commit

Permalink
move screenshots above banners (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman authored Jan 10, 2024
1 parent a1e5103 commit 94b1cea
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
This `build-harness` is a collection of Makefiles to facilitate building Golang projects, Dockerfiles, Helm charts, and more.
It's designed to work with CI/CD systems such as GitHub Actions.

## Screenshots


![demo](docs/demo.gif?raw=true)
*Example of using the `build-harness` to build a docker image*

---
> [!NOTE]
> This project is part of Cloud Posse's comprehensive ["SweetOps"](https://cpco.io/sweetops) approach towards DevOps.
Expand All @@ -39,14 +45,6 @@ It's designed to work with CI/CD systems such as GitHub Actions.



## Screenshots


![demo](docs/demo.gif?raw=true)
*Example of using the `build-harness` to build a docker image*




## Usage

Expand Down Expand Up @@ -416,7 +414,7 @@ under the License.
All other trademarks referenced herein are the property of their respective owners.
## Copyrights

Copyright © 2016-2023 [Cloud Posse, LLC](https://cloudposse.com)
Copyright © 2016-2024 [Cloud Posse, LLC](https://cloudposse.com)

[![README Footer][readme_footer_img]][readme_footer_link]
[![Beacon][beacon]][website]
Expand Down
13 changes: 6 additions & 7 deletions templates/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ We literally have [*hundreds of other terraform modules*][terraform_modules] tha

{{- end }}
{{- end }}
{{ if has (ds "config") "screenshots" }}
## Screenshots

{{ range $screenshot := (ds "config").screenshots }}
{{ printf "![%s](%s)\n*%s*" $screenshot.name $screenshot.url $screenshot.description }}{{ end }}
{{- end }}

---
> [!NOTE]
Expand Down Expand Up @@ -99,13 +105,6 @@ We literally have [*hundreds of other terraform modules*][terraform_modules] tha
[![README Header][readme_header_img]][readme_header_link]
{{- end }}


{{ if has (ds "config") "screenshots" }}
## Screenshots

{{ range $screenshot := (ds "config").screenshots }}
{{ printf "![%s](%s)\n*%s*" $screenshot.name $screenshot.url $screenshot.description }}{{ end }}
{{- end }}
{{- end }}

{{ if has (ds "config") "introduction" }}
Expand Down

0 comments on commit 94b1cea

Please sign in to comment.