Some minor changes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dorian Zedler 2023-03-26 15:24:30 +02:00
parent b5cdc09f84
commit 82df5d7c74
Signed by: dorian
GPG key ID: 989DE36109AFA354
2 changed files with 16 additions and 12 deletions

View file

@ -9,11 +9,7 @@ links:
appstore: 'https://apps.apple.com/de/app/bluerock/id1503699996?app=itunes&ign-mpt=uo%3D4'
opensource: 'https://itsblue.dev/dorian/blueROCK'
privacyPolicy: |
While you're using blueROCK Itsblue Development does not collect any of your personal data.<br>
<br>
However, digitalROCK (provider of rankings and resultservice) may collect personal data.<br>
Further information can be found in their privacy policy:<br>
<a href=\"https://www.digitalrock.de/?load=kontakt.php%3Fprivacy-policy\" target=\"blank\">https://www.digitalrock.de/?load=kontakt.php%3Fprivacy-policy</a>
While you're using blueROCK Itsblue Development does not collect any of your personal data.
outputs:
- html
- privacypolicy
@ -30,4 +26,4 @@ aliases: ["/index.php/apps/bluerock"]
blueROCK is an app to view climbing results from [digitalrock](https://digitalrock.de) comfortable on the go.
<!--more-->
<!--more-->

View file

@ -28,9 +28,10 @@
{{ $files := sort (readDir $imagesDir) }}
<div class="gallery gallery-scroll">
{{ range $files }}
{{ if hasPrefix .Name "screenshot-" }}
<img class="gallery gallery-item" src="{{ site.BaseURL }}/{{ $publicImagesDir }}/{{ .Name }}" alt="{{ .Name }}">
{{ end }}
{{ if hasPrefix .Name "screenshot-" }}
<img class="gallery gallery-item" src="{{ site.BaseURL }}/{{ $publicImagesDir }}/{{ .Name }}"
alt="{{ .Name }}">
{{ end }}
{{ end }}
</div>
{{ end }}
@ -42,18 +43,25 @@
{{ if or (.Params.links.googleplay) (.Params.links.appstore) (.Params.links.opensource) }}
<h3>Downloads</h3>
{{ with .Params.links.googleplay }}
<a href="{{ . }}" target="blank"><img alt="Get it on Google Play" src="{{site.BaseURL}}/assets/GooglePlay.png"></a><br>
<a href="{{ . }}" target="blank"><img alt="Get it on Google Play"
src="{{site.BaseURL}}/assets/GooglePlay.png"></a><br>
{{ end }}
{{ with .Params.links.appstore }}
<a href="{{ . }}" target="blank"><img alt="Download on the App Store" src="{{site.BaseURL}}/assets/AppStore.png"></a><br>
<a href="{{ . }}" target="blank"><img alt="Download on the App Store"
src="{{site.BaseURL}}/assets/AppStore.png"></a><br>
{{ end }}
{{ with .Params.links.opensource }}
<a href="{{ . }}" target="blank"><img alt="Download on the App Store" src="{{site.BaseURL}}/assets/GetSourceCode.png"></a><br>
<a href="{{ . }}" target="blank"><img alt="Download on the App Store"
src="{{site.BaseURL}}/assets/GetSourceCode.png"></a><br>
{{ end }}
{{ end }}
{{ with .Params.privacyPolicy }}
<br>
<h3>Privacy policy</h3>
<p>
{{ . | safeHTML }}
</p>
<a href="privacypolicy.html">privacy policy <i class="fa fa-angle-right"></i></a>
{{ end }}