Skip to content

Commit

Permalink
🔖 Release v2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jpanther committed Feb 8, 2022
2 parents 56ec1bf + e9f5908 commit 3930c5b
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 58 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [2.0.4] - 2022-02-09

### Changed

- Updated German translation ([#110](https://github.com/jpanther/congo/pull/110))
- Upgrade to Tailwind v3.0.19

### Fixed

- Main content area not growing to fill screen vertically
- Search results not cleared when search is dismissed ([#109](https://github.com/jpanther/congo/pull/109))
- Emoji strings not displaying in search results

## [2.0.3] - 2022-02-07

### Changed
Expand Down Expand Up @@ -312,7 +325,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Advanced customisation using simple Tailwind colour definitions and styles
- Fully documented

[unreleased]: https://github.com/jpanther/congo/compare/v2.0.3...HEAD
[unreleased]: https://github.com/jpanther/congo/compare/v2.0.4...HEAD
[2.0.4]: https://github.com/jpanther/congo/compare/v2.0.3...v2.0.4
[2.0.3]: https://github.com/jpanther/congo/compare/v2.0.2...v2.0.3
[2.0.2]: https://github.com/jpanther/congo/compare/v2.0.1...v2.0.2
[2.0.1]: https://github.com/jpanther/congo/compare/v2.0.0...v2.0.1
Expand Down
4 changes: 2 additions & 2 deletions assets/css/compiled/main.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*! Congo v2.0.3 | MIT License | https://github.com/jpanther/congo */
/*! Congo v2.0.4 | MIT License | https://github.com/jpanther/congo */

/*! tailwindcss v3.0.18 | MIT License | https://tailwindcss.com */
/*! tailwindcss v3.0.19 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
Expand Down
2 changes: 1 addition & 1 deletion assets/css/main.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Congo v2.0.3 | MIT License | https://github.com/jpanther/congo */
/*! Congo v2.0.4 | MIT License | https://github.com/jpanther/congo */

@tailwind base;
@tailwind components;
Expand Down
2 changes: 2 additions & 0 deletions assets/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ function hideSearch() {
if (searchVisible) {
document.body.style.overflow = "visible";
wrapper.style.visibility = "hidden";
input.value = "";
output.innerHTML = "";
document.activeElement.blur();
searchVisible = false;
}
Expand Down
32 changes: 16 additions & 16 deletions i18n/de.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
article:
anchor_label: "Anker"
date: "{{ .Date }}"
# date_updated: "Updated: {{ .Date }}"
date_updated: "Aktualisiert: {{ .Date }}"
draft: "Entwurf"
edit_title: "Inhalt bearbeiten"
reading_time:
one: "{{ .Count }} min"
other: "{{ .Count }} min"
reading_time_title: "Lesezeit"
# table_of_contents: "Table of Contents"
# word_count:
# one: "{{ .Count }} word"
# other: "{{ .Count }} words"
table_of_contents: "Inhaltsverzeichnis"
word_count:
one: "{{ .Count }} Wort"
other: "{{ .Count }} Wörter"

author:
byline_title: "Autor"

# code:
# copy: "Copy"
# copied: "Copied"
code:
copy: "Kopieren"
copied: "Kopiert"

error:
404_title: "Seite nicht gefunden :confused:"
Expand All @@ -34,14 +34,14 @@ list:
externalurl_title: "Link zu einer externen Seite"
no_articles: "Es gibt hier noch keine Beiträge."

# nav:
# scroll_to_top_title: "Scroll to top"
# skip_to_main: "Skip to main content"
nav:
scroll_to_top_title: "Zum Anfang scrollen"
skip_to_main: "Zum Hauptinhalt springen"

# search:
# open_button_title: "Search (/)"
# close_button_title: "Close (Esc)"
# input_placeholder: "Search"
search:
open_button_title: "Suche (/)"
close_button_title: "Schließen (Esc)"
input_placeholder: "Suchen"

sharing:
email: "Per E-Mail teilen"
Expand All @@ -52,4 +52,4 @@ sharing:
twitter: "Auf Twitter teilen"

shortcode:
recent_articles: "Kürzlich"
recent_articles: "Neue Beiträge"
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
>
</div>
{{- partial "header.html" . -}}
<main id="main-content" class="relative">
<main id="main-content" class="relative grow">
{{- block "main" . }}{{- end }}
{{ if and (.Site.Params.showScrollToTop | default true) (gt .WordCount 200) }}
<div
Expand Down
11 changes: 9 additions & 2 deletions layouts/_default/index.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
{{- $index := slice -}}
{{- range .Site.RegularPages -}}
{{ $section := .Site.GetPage "section" .Section }}
{{- $index = $index | append (dict "date" (.Date | time.Format (.Site.Language.Params.dateFormat | default ":date_long")) "title" .Title "section" $section.Title "summary" .Summary "content" (.Plain | safeJS) "permalink" .RelPermalink) -}}
{{- $section := .Site.GetPage "section" .Section -}}
{{- $index = $index | append (dict
"date" (.Date | time.Format (.Site.Language.Params.dateFormat | default ":date_long"))
"title" (.Title | emojify | safeJS)
"section" ($section.Title | emojify | safeJS)
"summary" (.Summary | emojify | safeJS)
"content" (.Plain | emojify | safeJS)
"permalink" .RelPermalink
) -}}
{{- end -}}
{{- $index | jsonify -}}
68 changes: 34 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hugo-congo-theme",
"version": "2.0.3",
"version": "2.0.4",
"description": "Congo theme for Hugo",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 3930c5b

Please sign in to comment.