Skip to content

Commit

Permalink
Fix templates
Browse files Browse the repository at this point in the history
  • Loading branch information
stp-ip committed Oct 16, 2019
1 parent 6070a24 commit 53e6dc0
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 62 deletions.
21 changes: 19 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ _2018_
---
-->

# v0.4.4
_2019-10-16_
- [Downloads for v0.4.4](https://github.com/okkur/reposeed/releases/tag/v0.4.4)
- [Changelog since v0.4.3](#changes-since-v043)
- [Documentation for v0.4.4](#documentation-for-v044)

## Documentation for v0.4.4
[Documentation](/docs)

## Changes since v0.4.3

## Fixes since v0.4.3
- Fix templates

---

# v0.4.3
_2019-10-16_
- [Downloads for v0.4.3](https://github.com/okkur/reposeed/releases/tag/v0.4.3)
Expand All @@ -24,11 +41,11 @@ _2019-10-16_
## Documentation for v0.4.3
[Documentation](/docs)

## Changes since v0.1.0
## Changes since v0.4.2
- Docs license choice considered for header example
- Add changelog

## Fixes since v0.1.0
## Fixes since v0.4.2
- New lines
- MIT within readme footer #64
- MainLicense used within readme
Expand Down
2 changes: 1 addition & 1 deletion OWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Current Owners/Maintainers.
# Current Maintainers
Michael Grosser (stp-ip)
1 change: 1 addition & 0 deletions SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ Be kind to anyone helping out.

For commercial support reach out to [email protected]


## Documentation
* [User Documentation](/docs)
46 changes: 0 additions & 46 deletions cmd/templates/a_templates-packr.go

This file was deleted.

1 change: 0 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ See the License for the specific language governing permissions and
limitations under the License.
-->


## Development
Install reposeed and change your directory to reposeed's source code directory.
```
Expand Down
16 changes: 8 additions & 8 deletions templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
{{ .Project.OneLiner }}

{{ range .Badges }}
{{ if .Image && .Link }}
{{- if or .Image .Link }}
{{- printf " [![%s](%s)](%s)" .Alt .Image .Link -}}
{{ end }}
{{ end -}}
{{ end }}

{{ "" }}
Expand Down Expand Up @@ -49,17 +49,17 @@ Best place to start is our [contribution guide](/CONTRIBUTING.md).

----

{{- if eq .Project.MainLicense "AGPLv3" -}}
{{ if eq .Project.MainLicense "AGPLv3" }}
{{- printf "*Code is licensed under the [%s](/LICENSE).* " (print "AGPL License, Version 3.0") }}
{{- else if eq .Project.MainLicense "GPLv3" -}}
{{ else if eq .Project.MainLicense "GPLv3" }}
{{- printf "*Code is licensed under the [%s](/LICENSE).* " (print "GPL License, Version 3.0") }}
{{- else if eq .Project.MainLicense "BSD3" -}}
{{ else if eq .Project.MainLicense "BSD3" }}
{{- printf "*Code is licensed under the [%s](/LICENSE).* " (print "BSD License, Version 3.0") }}
{{- else if eq .Project.MainLicense "MIT" -}}
{{ else if eq .Project.MainLicense "MIT" }}
{{- printf "*Code is licensed under the [%s](/LICENSE).* " (print "MIT License") }}
{{- else -}}
{{ else }}
{{- printf "*Code is licensed under the [%s](/LICENSE).* " (print "Apache License, Version 2.0") }}
{{- end }}
{{ end -}}

{{ if eq .Project.DocsLicense "apache2" }}
{{- printf "*Documentation/examples are licensed under [%s](/docs/LICENSE).* " (print "Apache License, Version 2.0") }}
Expand Down
2 changes: 1 addition & 1 deletion templates/SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ The {{ .Project.Name }} community might be active on various platforms.
{{ printf "* [Troubleshooting Guide](%s)" . }}
{{ end -}}

{{- end }}
{{- end -}}
5 changes: 2 additions & 3 deletions templates/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ See the License for the specific language governing permissions and
limitations under the License.
-->

{{ "" }}
{{ printf "## Development" }}
{{ with .Docs.Development -}}
{{- . -}}
{{ printf "## Development" }}
{{ . -}}
{{- end -}}

# Documentation
Expand Down

0 comments on commit 53e6dc0

Please sign in to comment.