Skip to content

Commit

Permalink
Merge pull request #21 from cocoatype/18-add-app-link-to-releases
Browse files Browse the repository at this point in the history
Update release notes list and single pages
  • Loading branch information
Arclite authored Jun 28, 2024
2 parents ead30f3 + b88bbc5 commit 26c3c71
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions themes/highlighter/assets/_sass/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ article {
padding: 0px 12px;
}
}

section {
margin-bottom: 3rem;
}
4 changes: 3 additions & 1 deletion themes/highlighter/assets/_sass/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ h1 {
}

h2 {
font-size: 1.2em;
font-size: 1.2rem;
font-weight: 700;
// margin-top: 2.2rem;
// margin-bottom: 0.7rem;
}

h3 {
Expand Down
4 changes: 3 additions & 1 deletion themes/highlighter/layouts/releases/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ <h1 class="post-title">{{ .Title }}</h1>
</div>
<div class="post-content">
{{ range .Pages }}
<h2>{{ .Title }} &mdash; {{ dateFormat "January 2, 2006" .Date }}</h2>
<section>
<h2><a href="{{ .RelPermalink }}">{{ .Title }} &mdash; {{ dateFormat "January 2, 2006" .Date }}</a></h2>
{{ .Content }}
</section>
{{ end }}
</div>
</article>
Expand Down
1 change: 1 addition & 0 deletions themes/highlighter/layouts/releases/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ <h1 class="post-title">{{ .Title }} &mdash; {{ dateFormat "January 2, 2006" .Dat
</div>
<div class="post-content">
{{ .Content }}
<strong><a href="https://apps.apple.com/us/app/black-highlighter/id1215283742?ls=1">Get Black Highlighter {{ .Title }} on the App Store.</a></strong>
</div>
</article>
{{ end }}

0 comments on commit 26c3c71

Please sign in to comment.