mirror of https://github.com/jpanther/congo.git
commit
bd24897a01
|
@ -0,0 +1,2 @@
|
||||||
|
<!-- IMPORTANT! Before submitting, ensure you have followed the Contributing guidelines. -->
|
||||||
|
<!-- https://github.com/jpanther/congo/blob/dev/CONTRIBUTING.md -->
|
|
@ -7,6 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-deploy:
|
build-deploy:
|
||||||
|
name: Build and Deploy
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
|
@ -4,6 +4,7 @@ on: [pull_request_target]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
label:
|
label:
|
||||||
|
name: Label
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
name: Test Build
|
name: Test Build
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Build Example Site
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
16
CHANGELOG.md
16
CHANGELOG.md
|
@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.5.2] - 2021-11-10
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- German translation ([#27](https://github.com/jpanther/congo/pull/27))
|
||||||
|
- Brazilian Portuguese translation ([#28](https://github.com/jpanther/congo/pull/28))
|
||||||
|
- Spanish translation ([#30](https://github.com/jpanther/congo/pull/30))
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Article pagination link spacing ([#26](https://github.com/jpanther/congo/pull/26))
|
||||||
|
- Minor icon style issues
|
||||||
|
|
||||||
## [1.5.1] - 2021-11-04
|
## [1.5.1] - 2021-11-04
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -157,7 +170,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
|
- Advanced customisation using simple Tailwind colour definitions and styles
|
||||||
- Fully documented
|
- Fully documented
|
||||||
|
|
||||||
[unreleased]: https://github.com/jpanther/Congo/compare/v1.5.1...HEAD
|
[unreleased]: https://github.com/jpanther/Congo/compare/v1.5.2...HEAD
|
||||||
|
[1.5.2]: https://github.com/jpanther/Congo/compare/v1.5.1...v1.5.2
|
||||||
[1.5.1]: https://github.com/jpanther/Congo/compare/v1.5.0...v1.5.1
|
[1.5.1]: https://github.com/jpanther/Congo/compare/v1.5.0...v1.5.1
|
||||||
[1.5.0]: https://github.com/jpanther/Congo/compare/v1.4.0...v1.5.0
|
[1.5.0]: https://github.com/jpanther/Congo/compare/v1.4.0...v1.5.0
|
||||||
[1.4.0]: https://github.com/jpanther/Congo/compare/v1.3.0...v1.4.0
|
[1.4.0]: https://github.com/jpanther/Congo/compare/v1.3.0...v1.4.0
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*! Congo v1.5.1 | MIT License | https://github.com/jpanther/congo */
|
/*! Congo v1.5.2 | MIT License | https://github.com/jpanther/congo */
|
||||||
|
|
||||||
/*! tailwindcss v2.2.19 | MIT License | https://tailwindcss.com */
|
/*! tailwindcss v2.2.19 | MIT License | https://tailwindcss.com */
|
||||||
|
|
||||||
|
@ -1928,8 +1928,8 @@ body a, body button {
|
||||||
margin-right: 0.75rem;
|
margin-right: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.-mt-1 {
|
.mt-\[0\.1rem\] {
|
||||||
margin-top: -0.25rem;
|
margin-top: 0.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ml-3 {
|
.ml-3 {
|
||||||
|
@ -2336,14 +2336,14 @@ body a, body button {
|
||||||
line-height: 1.75rem;
|
line-height: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.leading-3 {
|
|
||||||
line-height: .75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leading-6 {
|
.leading-6 {
|
||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.leading-3 {
|
||||||
|
line-height: .75rem;
|
||||||
|
}
|
||||||
|
|
||||||
.text-neutral-400 {
|
.text-neutral-400 {
|
||||||
color: var(--color-neutral-400);
|
color: var(--color-neutral-400);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*! Congo v1.5.1 | MIT License | https://github.com/jpanther/congo */
|
/*! Congo v1.5.2 | MIT License | https://github.com/jpanther/congo */
|
||||||
|
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
article:
|
||||||
|
anchor_label: "Anker"
|
||||||
|
draft: "Entwurf"
|
||||||
|
edit_title: "Inhalt bearbeiten"
|
||||||
|
reading_time:
|
||||||
|
one: "{{ .Count }} min"
|
||||||
|
other: "{{ .Count }} min"
|
||||||
|
reading_time_title: "Lesezeit"
|
||||||
|
|
||||||
|
author:
|
||||||
|
byline_title: "Autor"
|
||||||
|
|
||||||
|
error:
|
||||||
|
404_title: "Seite nicht gefunden :confused:"
|
||||||
|
404_error: "Fehler 404"
|
||||||
|
404_description: "Es sieht so aus, als ob es diese Seite nicht gibt."
|
||||||
|
|
||||||
|
footer:
|
||||||
|
dark_appearance: "Zum dunklen Erscheinungsbild wechseln"
|
||||||
|
light_appearance: "Zum hellen Erscheinungsbild wechseln"
|
||||||
|
powered_by: "Erstellt mit {{ .Hugo }} & {{ .Congo }}"
|
||||||
|
|
||||||
|
list:
|
||||||
|
externalurl_title: "Link zu einer externen Seite"
|
||||||
|
no_articles: "Es gibt hier noch keine Beiträge."
|
||||||
|
|
||||||
|
sharing:
|
||||||
|
email: "Per E-Mail teilen"
|
||||||
|
facebook: "Auf Facebook teilen"
|
||||||
|
linkedin: "Auf LinkedIn teilen"
|
||||||
|
pinterest: "Auf Pinterest pinnen"
|
||||||
|
reddit: "An Reddit senden"
|
||||||
|
twitter: "Auf Twitter teilen"
|
||||||
|
|
||||||
|
shortcode:
|
||||||
|
recent_articles: "Kürzlich"
|
||||||
|
icon_none: "Icon nicht gefunden."
|
|
@ -0,0 +1,37 @@
|
||||||
|
article:
|
||||||
|
anchor_label: "Ancla"
|
||||||
|
draft: "Borrador"
|
||||||
|
edit_title: "Editar contenido"
|
||||||
|
reading_time:
|
||||||
|
one: "{{ .Count }} min"
|
||||||
|
other: "{{ .Count }} mins"
|
||||||
|
reading_time_title: "Tiempo de lectura"
|
||||||
|
|
||||||
|
author:
|
||||||
|
byline_title: "Autor"
|
||||||
|
|
||||||
|
error:
|
||||||
|
404_title: "Página no encontrada :confused:"
|
||||||
|
404_error: "Error 404"
|
||||||
|
404_description: "Parece que la página que solicitaste no existe."
|
||||||
|
|
||||||
|
footer:
|
||||||
|
dark_appearance: "Cambiar a modo oscuro"
|
||||||
|
light_appearance: "Cambiar a modo claro"
|
||||||
|
powered_by: "Desarrollada con {{ .Hugo }} & {{ .Congo }}"
|
||||||
|
|
||||||
|
list:
|
||||||
|
externalurl_title: "Link a página externa"
|
||||||
|
no_articles: "Aún no hay artículos para listar aquí."
|
||||||
|
|
||||||
|
sharing:
|
||||||
|
email: "Enviar vía email"
|
||||||
|
facebook: "Compartir en Facebook"
|
||||||
|
linkedin: "Compartir en LinkedIn"
|
||||||
|
pinterest: "Pinear en Pinterest"
|
||||||
|
reddit: "Publicar en Reddit"
|
||||||
|
twitter: "Tuitear en Twitter"
|
||||||
|
|
||||||
|
shortcode:
|
||||||
|
recent_articles: "Reciente"
|
||||||
|
icon_none: "Icono no encontrado."
|
|
@ -0,0 +1,37 @@
|
||||||
|
article:
|
||||||
|
anchor_label: "Anchor"
|
||||||
|
draft: "Draft"
|
||||||
|
edit_title: "Editar Conteúdo"
|
||||||
|
reading_time:
|
||||||
|
one: "{{ .Count }} minuto"
|
||||||
|
other: "{{ .Count }} minutos"
|
||||||
|
reading_time_title: "Tempo de leitura"
|
||||||
|
|
||||||
|
author:
|
||||||
|
byline_title: "Autor"
|
||||||
|
|
||||||
|
error:
|
||||||
|
404_title: "Página não econtrada :confused:"
|
||||||
|
404_error: "Erro 404"
|
||||||
|
404_description: "Aparentemente a página requisitada não existe."
|
||||||
|
|
||||||
|
footer:
|
||||||
|
dark_appearance: "Mudar para modo escuro"
|
||||||
|
light_appearance: "Mudar para modo claro"
|
||||||
|
powered_by: "Movido por {{ .Hugo }} & {{ .Congo }}"
|
||||||
|
|
||||||
|
list:
|
||||||
|
externalurl_title: "Link para site externo"
|
||||||
|
no_articles: "Não tem artigos para lista aqui ainda."
|
||||||
|
|
||||||
|
sharing:
|
||||||
|
email: "Enviar por email"
|
||||||
|
facebook: "Compartilhar pelo Facebook"
|
||||||
|
linkedin: "Compartilhar pelo LinkedIn"
|
||||||
|
pinterest: "Pin no Pinterest"
|
||||||
|
reddit: "Postar no Reddit"
|
||||||
|
twitter: "Tweet no Twitter"
|
||||||
|
|
||||||
|
shortcode:
|
||||||
|
recent_articles: "Recente"
|
||||||
|
icon_none: "Ícone não encontrado."
|
|
@ -8,8 +8,10 @@
|
||||||
<a class="flex" href="{{ .NextInSection.RelPermalink }}">
|
<a class="flex" href="{{ .NextInSection.RelPermalink }}">
|
||||||
<span class="mr-3 article-pagination-direction">←</span>
|
<span class="mr-3 article-pagination-direction">←</span>
|
||||||
<span class="flex flex-col">
|
<span class="flex flex-col">
|
||||||
<span class="article-pagination-title">{{ .NextInSection.Title | emojify }}</span>
|
<span class="article-pagination-title mt-[0.1rem] leading-6"
|
||||||
<span class="-mt-1 text-xs text-neutral-400 dark:text-neutral-500">
|
>{{ .NextInSection.Title | emojify }}</span
|
||||||
|
>
|
||||||
|
<span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500">
|
||||||
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
||||||
{{ partial "meta/date.html" . }}
|
{{ partial "meta/date.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -22,8 +24,10 @@
|
||||||
{{ if .PrevInSection }}
|
{{ if .PrevInSection }}
|
||||||
<a class="flex text-right" href="{{ .PrevInSection.RelPermalink }}">
|
<a class="flex text-right" href="{{ .PrevInSection.RelPermalink }}">
|
||||||
<span class="flex flex-col">
|
<span class="flex flex-col">
|
||||||
<span class="article-pagination-title">{{ .PrevInSection.Title | emojify }}</span>
|
<span class="article-pagination-title mt-[0.1rem] leading-6"
|
||||||
<span class="-mt-1 text-xs text-neutral-400 dark:text-neutral-500">
|
>{{ .PrevInSection.Title | emojify }}</span
|
||||||
|
>
|
||||||
|
<span class="mt-[0.1rem] text-xs text-neutral-400 dark:text-neutral-500">
|
||||||
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
{{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }}
|
||||||
{{ partial "meta/date.html" . }}
|
{{ partial "meta/date.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<span class="relative inline-block align-text-bottom icon">
|
|
||||||
{{ $icon := resources.Get (print "icons/" . ".svg") }}
|
{{ $icon := resources.Get (print "icons/" . ".svg") }}
|
||||||
{{ if $icon }}
|
{{ if $icon }}
|
||||||
|
<span class="relative inline-block align-text-bottom icon">
|
||||||
{{ $icon.Content | safeHTML }}
|
{{ $icon.Content | safeHTML }}
|
||||||
{{ end }}
|
|
||||||
</span>
|
</span>
|
||||||
|
{{ end }}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<span class="relative inline-block align-text-bottom icon">
|
|
||||||
{{ $icon := resources.Get (printf "icons/%s.svg" ($.Get 0)) }}
|
{{ $icon := resources.Get (printf "icons/%s.svg" ($.Get 0)) }}
|
||||||
{{ if $icon }}
|
{{ if $icon }}
|
||||||
|
<span class="relative inline-block align-text-bottom icon">
|
||||||
{{ $icon.Content | safeHTML }}
|
{{ $icon.Content | safeHTML }}
|
||||||
|
</span>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<em>{{ i18n "shortcode.icon_none" }}</em>
|
<em>{{ i18n "shortcode.icon_none" }}</em>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</span>
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hugo-congo-theme",
|
"name": "hugo-congo-theme",
|
||||||
"version": "1.5.1",
|
"version": "1.5.2",
|
||||||
"description": "Congo theme for Hugo",
|
"description": "Congo theme for Hugo",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue