diff --git a/CHANGELOG.md b/CHANGELOG.md index abb55d43..f940c828 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - v1.1 Polish translation. - v1.1 Ukrainian translation. +### Changed + +- Use frontmatter title & description in each language version template +- Replace broken OpenGraph image with an appropriately-sized Keep a Changelog + image that will render properly (although in English for all languages) +- Fix OpenGraph title & description for all languages so the title and +description when links are shared are language-appropriate + +### Removed + +- Trademark sign previously shown after the project description in version +0.3.0 + ## [1.1.1] - 2023-03-05 ### Added diff --git a/config.rb b/config.rb index 025f4af4..a1c8b579 100644 --- a/config.rb +++ b/config.rb @@ -263,24 +263,4 @@ def available_translation_for(language) activate :autoprefixer do |config| config.browsers = ["last 2 versions", "Explorer >= 10"] config.cascade = false -end - -# Haml doesn't pick up on Markdown configuration so we have to remove the -# default Markdown Haml filter and reconfigure one that follows our -# global configuration. - -# module Haml::Filters -# remove_filter("Markdown") #remove the existing Markdown filter - -# module Markdown -# include Haml::Filters::Base - -# def renderer -# $markdown_config[:renderer] -# end - -# def render(text) -# Redcarpet::Markdown.new(renderer.new($markdown_config)).render(text) -# end -# end -# end +end \ No newline at end of file diff --git a/source/ar/1.0.0/index.html.haml b/source/ar/1.0.0/index.html.haml index bd62a430..477c6a1e 100644 --- a/source/ar/1.0.0/index.html.haml +++ b/source/ar/1.0.0/index.html.haml @@ -1,5 +1,5 @@ --- -description: احتفظ بسجل التغيير +description: لا تدع أصدقائك يخلطون سجلات git مع سجلات التغيير title: احتفظ بسجل التغيير language: ar version: 1.0.0 @@ -15,10 +15,8 @@ p.yanked {direction:ltr;text-align:right} .header .title - %h1 احتفظ بسجل التغيير - %h2 لا تدع أصدقائك يخلطون سجلات | - git | - مع سجلات التغيير | + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/cs/0.3.0/index.html.haml b/source/cs/0.3.0/index.html.haml index e23b4aa1..f3fe5fbe 100644 --- a/source/cs/0.3.0/index.html.haml +++ b/source/cs/0.3.0/index.html.haml @@ -1,23 +1,24 @@ --- -description: Udržuj Changelog title: Udržuj Changelog +description: Nenech své kamarády házet do CHANGELOGů™ git logy. language: cs version: 0.3.0 --- -:markdown - # Udržuj CHANGELOG +%h1= current_page.data.title - ## Nenech své kamarády házet do CHANGELOGů™ git logy. +%h2= current_page.data.description - Version **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### Co je to changelog? Changelog je soubor, který obsahuje organizovaný, chronologicky seřazený seznam podstatných změn pro každou verzi daného projektu. -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
+:markdown ### Co je smyslem changelogu? Usnadnit uživatelům a přispěvatelům přesné zobrazení podstatných změn, které byly provedeny mezi jednotlivými vydáními (verzemi) daného projektu. diff --git a/source/cs/1.0.0/index.html.haml b/source/cs/1.0.0/index.html.haml index 6a0c8388..92ae5f99 100644 --- a/source/cs/1.0.0/index.html.haml +++ b/source/cs/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Udržuj Changelog title: Udržuj Changelog +description: Nenech své kamarády sypat git logy do changelogů. language: cs version: 1.0.0 --- .header .title - %h1 Udržuj Changelog - %h2 Nenech své kamarády sypat git logy do changelogů. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Verze diff --git a/source/cs/1.1.0/index.html.haml b/source/cs/1.1.0/index.html.haml index 221041df..6c167a16 100644 --- a/source/cs/1.1.0/index.html.haml +++ b/source/cs/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Udržuj Changelog title: Udržuj Changelog +description: Nenech své kamarády sypat git logy do changelogů. language: cs version: 1.1.0 --- .header .title - %h1 Udržuj Changelog - %h2 Nenech své kamarády sypat git logy do changelogů. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Verze diff --git a/source/da/1.1.0/index.html.haml b/source/da/1.1.0/index.html.haml index 199c87c4..c058a4e7 100644 --- a/source/da/1.1.0/index.html.haml +++ b/source/da/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Hold en changelog title: Hold en changelog +description: Du skal ikke lade dine venner smide git logs i changelogs. language: da version: 1.1.0 --- .header .title - %h1 Hold en changelog - %h2 Du skal ikke lade dine venner smide git logs i changelogs. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/de/0.3.0/index.html.haml b/source/de/0.3.0/index.html.haml index 5aca7807..9bb75d49 100644 --- a/source/de/0.3.0/index.html.haml +++ b/source/de/0.3.0/index.html.haml @@ -1,24 +1,24 @@ --- -description: Keep a Changelog -title: Keep a Changelog +title: Führe ein CHANGELOG +description: Lass Deine Freunde nicht CHANGELOGs mit git logs füllen language: de version: 0.3.0 --- -:markdown - # Führe ein CHANGELOG - - ## Lass Deine Freunde nicht CHANGELOGs mit git logs füllen™ +%h1= current_page.data.title +%h2= current_page.data.description - Version **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### Was ist ein Changelog? Ein Changelog ist eine Datei, welche eine handgepflegte, chronologisch sortierte Liste aller erheblichen Änderungen enthält, die zwischen Veröffentlichungen (oder Versionen) des Projekts umgesetzt wurden. -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
+:markdown ### Was ist der Zweck eines Changelogs? Es Benutzern und Entwicklern einfacher zu machen, gerade die beachtenswerten Änderungen, welche zwischen Veröffentlichungen (oder Versionen) des Projekts gemacht wurden, zu sehen. diff --git a/source/de/1.0.0/index.html.haml b/source/de/1.0.0/index.html.haml index 0a8fa3d3..5928e5ba 100644 --- a/source/de/1.0.0/index.html.haml +++ b/source/de/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog -title: Keep a Changelog +title: Führe ein CHANGELOG +description: Lass Deine Freunde nicht CHANGELOGs mit git logs füllen. language: de version: 1.0.0 --- .header .title - %h1 Führe ein CHANGELOG - %h2 Lass Deine Freunde nicht CHANGELOGs mit git logs füllen. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/de/1.1.0/index.html.haml b/source/de/1.1.0/index.html.haml index 9ccc061c..1cf92a10 100644 --- a/source/de/1.1.0/index.html.haml +++ b/source/de/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog -title: Keep a Changelog +title: Führe ein CHANGELOG +description: Lass Deine Freunde nicht CHANGELOGs mit git logs füllen. language: de version: 1.1.0 --- .header .title - %h1 Führe ein CHANGELOG - %h2 Lass Deine Freunde nicht CHANGELOGs mit git logs füllen. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/en/0.3.0/index.html.haml b/source/en/0.3.0/index.html.haml index 3bb50121..9a83fb83 100644 --- a/source/en/0.3.0/index.html.haml +++ b/source/en/0.3.0/index.html.haml @@ -1,23 +1,23 @@ --- -description: Keep a Changelog title: Keep a Changelog +description: Don’t let your friends dump git logs into changelogs. language: en version: 0.3.0 --- -:markdown - # Keep a CHANGELOG - - ## Don’t let your friends dump git logs into CHANGELOGs™ +%h1= current_page.data.title +%h2= current_page.data.description - Version **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### What’s a change log? A change log is a file which contains a curated, chronologically ordered list of notable changes for each version of a project. -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
+:markdown ### What’s the point of a change log? To make it easier for users and contributors to see precisely what notable changes have been made between each release (or version) of the project. diff --git a/source/en/1.0.0/index.html.haml b/source/en/1.0.0/index.html.haml index f025c430..b7edf40e 100644 --- a/source/en/1.0.0/index.html.haml +++ b/source/en/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog title: Keep a Changelog +description: Don’t let your friends dump git logs into changelogs. language: en version: 1.0.0 --- .header .title - %h1 Keep a Changelog - %h2 Don’t let your friends dump git logs into changelogs. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/en/1.1.0/index.html.haml b/source/en/1.1.0/index.html.haml index bda9f351..b4598f57 100644 --- a/source/en/1.1.0/index.html.haml +++ b/source/en/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog title: Keep a Changelog +description: Don’t let your friends dump git logs into changelogs. language: en version: 1.1.0 --- .header .title - %h1 Keep a Changelog - %h2 Don’t let your friends dump git logs into changelogs. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/es-ES/0.3.0/index.html.haml b/source/es-ES/0.3.0/index.html.haml index 37f315b8..620823c8 100644 --- a/source/es-ES/0.3.0/index.html.haml +++ b/source/es-ES/0.3.0/index.html.haml @@ -1,23 +1,23 @@ --- -description: Mantenga un Changelog title: Mantenga un Changelog +description: No dejes que tus amigos copien y peguen git logs en los CHANGELOGs language: es-ES version: 0.3.0 --- -:markdown - # Mantener un CHANGELOG - - ## No dejes que tus amigos copien y peguen git logs en los CHANGELOGs™ +%h1= current_page.data.title +%h2= current_page.data.description - Version **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### Qué es un registro de cambios (change log)? Un registro de cambios o “change log” de ahora en adelante, es un archivo que contiene una lista en orden cronológico sobre los cambios que vamos haciendo en cada reléase (o versión) de nuestro proyecto. -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
+:markdown ### Cuál es el propósito del change log? Para que les sea más fácil a los usuarios y contribuyentes, ver exactamente los cambios notables que se han hecho entre cada versión (o versiones) del proyecto. diff --git a/source/es-ES/1.0.0/index.html.haml b/source/es-ES/1.0.0/index.html.haml index 76733b13..88081c6c 100644 --- a/source/es-ES/1.0.0/index.html.haml +++ b/source/es-ES/1.0.0/index.html.haml @@ -1,12 +1,12 @@ --- -description: Mantenga un changelog title: Mantenga un changelog +description: No dejes que tus amigos usen el registro de git en los changelogs. language: es-ES version: 1.0.0 --- .header .title - %h1 Mantenga un changelog + %h1= current_page.data.title %h2 No dejes que tus amigos usen el registro de git en los changelogs. diff --git a/source/es-ES/1.1.0/index.html.haml b/source/es-ES/1.1.0/index.html.haml index 2b23b278..b57c614c 100644 --- a/source/es-ES/1.1.0/index.html.haml +++ b/source/es-ES/1.1.0/index.html.haml @@ -1,12 +1,12 @@ --- -description: Mantenga un changelog title: Mantenga un changelog +description: No dejes que tus amigos usen el registro de git en los changelogs. language: es-ES version: 1.1.0 --- .header .title - %h1 Mantenga un changelog + %h1= current_page.data.title %h2 No dejes que tus amigos usen el registro de git en los changelogs. diff --git a/source/fa/1.0.0/index.html.haml b/source/fa/1.0.0/index.html.haml index 015eb6c5..01ae52fa 100644 --- a/source/fa/1.0.0/index.html.haml +++ b/source/fa/1.0.0/index.html.haml @@ -1,6 +1,6 @@ --- -description: تاریخچهٔ تغییرات را نگه دارید title: تاریخچهٔ تغییرات را نگه دارید +description: خروجی git log را به اسم تاریخچهٔ تغییرات پروژه منتشر نکنید. language: fa version: 1.0.0 --- @@ -14,8 +14,8 @@ pre {direction:ltr;text-align:left} .header .title - %h1 تاریخچهٔ تغییرات را نگه دارید - %h2 خروجی git log را به اسم تاریخچهٔ تغییرات پروژه منتشر نکنید. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/fa/1.1.0/index.html.haml b/source/fa/1.1.0/index.html.haml index 850bcf03..9bd21f81 100644 --- a/source/fa/1.1.0/index.html.haml +++ b/source/fa/1.1.0/index.html.haml @@ -1,6 +1,6 @@ --- -description: تاریخچهٔ تغییرات را نگه دارید title: تاریخچهٔ تغییرات را نگه دارید +description: خروجی git log را به اسم تاریخچهٔ تغییرات پروژه منتشر نکنید language: fa version: 1.1.0 --- @@ -14,8 +14,8 @@ pre {direction:ltr;text-align:left} .header .title - %h1 تاریخچهٔ تغییرات را نگه دارید - %h2 خروجی git log را به اسم تاریخچهٔ تغییرات پروژه منتشر نکنید. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/fr/0.3.0/index.html.haml b/source/fr/0.3.0/index.html.haml index 7bc10b7c..4fc94ca9 100644 --- a/source/fr/0.3.0/index.html.haml +++ b/source/fr/0.3.0/index.html.haml @@ -1,24 +1,24 @@ --- -description: Tenez un Changelog title: Tenez un Changelog +description: Ne laissez pas vos amis utiliser les logs git comme CHANGELOGs language: fr version: 0.3.0 --- -:markdown - # Tenez un CHANGELOG - - ## Ne laissez pas vos amis utiliser les logs git comme CHANGELOGs™ +%h1= current_page.data.title +%h2= current_page.data.description - Version **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### Qu’est-ce qu’un journal des modifications (change log) ? Un journal des modifications (ou change log) est un fichier qui contient une liste triée chronologiquement des changements notables pour chaque version d’un projet -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
+:markdown ### Quel est l’intérêt d’un change log ? Il permet aux utilisateurs et aux contributeurs de voir plus simplement les changements notables qui ont été réalisés entre chaque publication diff --git a/source/fr/1.0.0/index.html.haml b/source/fr/1.0.0/index.html.haml index c6c96afb..ec3fed42 100644 --- a/source/fr/1.0.0/index.html.haml +++ b/source/fr/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Tenez un Changelog title: Tenez un Changelog +description: Ne laissez pas vos amis utiliser les logs git comme changelogs language: fr version: 1.0.0 --- .header .title - %h1 Tenez un Changelog - %h2 Ne laissez pas vos amis utiliser les logs git comme changelogs + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/fr/1.1.0/index.html.haml b/source/fr/1.1.0/index.html.haml index 82f7eff1..84cb331b 100644 --- a/source/fr/1.1.0/index.html.haml +++ b/source/fr/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Tenez un Changelog title: Tenez un Changelog +description: Ne laissez pas vos amis utiliser les logs git comme changelogs language: fr version: 1.1.0 --- .header .title - %h1 Tenez un Changelog - %h2 Ne laissez pas vos amis utiliser les logs git comme changelogs + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/hr/1.0.0/index.html.haml b/source/hr/1.0.0/index.html.haml index 208059f9..f25b569b 100644 --- a/source/hr/1.0.0/index.html.haml +++ b/source/hr/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Vodite changelog title: Vodite changelog +description: Ne dajte prijateljima da trpaju git logove u changelogove. language: hr version: 1.0.0 --- .header .title - %h1 Vodite Changelog - %h2 Ne dajte prijateljima da trpaju git logove u changelogove. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Verzija diff --git a/source/id-ID/1.0.0/index.html.haml b/source/id-ID/1.0.0/index.html.haml index 75e34c93..fcbe4c8e 100644 --- a/source/id-ID/1.0.0/index.html.haml +++ b/source/id-ID/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Pencatatan Changelog title: Pencatatan Changelog +description: Standarisasi pencatatan Changelog untuk kolaborasi yang lebih baik language: id-ID version: 1.0.0 --- .header .title - %h1 Pencatatan Changelog - %h2 Standarisasi pencatatan Changelog untuk kolaborasi yang lebih baik + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Versi diff --git a/source/it-IT/0.3.0/index.html.haml b/source/it-IT/0.3.0/index.html.haml index 529a5b95..365d6c36 100644 --- a/source/it-IT/0.3.0/index.html.haml +++ b/source/it-IT/0.3.0/index.html.haml @@ -1,21 +1,23 @@ --- -description: Keep a Changelog -title: Keep a Changelog +title: Mantenere un CHANGELOG +description: Non lasciate che i vostri amici copino e incollino i git log nei CHANGELOG language: it-IT version: 0.3.0 --- -:markdown - # Mantenere un CHANGELOG +%h1= current_page.data.title +%h2= current_page.data.description - ## Non lasciate che i vostri amici copino e incollino i git log nei CHANGELOG ™ +Version #{current_page.metadata[:page][:version]} +:markdown ### Cos'è un change log? Un change log è un file che contiene una lista curata e ordinata cronologicamente delle modifiche degne di nota per ogni versione di un progetto. -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
+:markdown ### A cosa serve un change log? Per rendere facile agli utilizzatori e contribuenti vedere con precisione quali modifiche importanti sono state fatte tra ogni release (o versione) del progetto. diff --git a/source/it-IT/1.0.0/index.html.haml b/source/it-IT/1.0.0/index.html.haml index 8aa6b538..2ad931d0 100644 --- a/source/it-IT/1.0.0/index.html.haml +++ b/source/it-IT/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog -title: Keep a Changelog +title: Tenere un Changelog +description: Non lasciare che i tuoi amici facciano copia incolla dei git logs nei changelog. language: it-IT version: 1.0.0 --- .header .title - %h1 Tenere un Changelog - %h2 Non lasciare che i tuoi amici facciano copia incolla dei git logs nei changelog. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Versione diff --git a/source/it-IT/1.1.0/index.html.haml b/source/it-IT/1.1.0/index.html.haml index 8644c5ca..664459d9 100644 --- a/source/it-IT/1.1.0/index.html.haml +++ b/source/it-IT/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog -title: Keep a Changelog +title: Tenere un Changelog +description: Non lasciare che i tuoi amici facciano copia incolla dei git logs nei changelog. language: it-IT version: 1.1.0 --- .header .title - %h1 Tenere un Changelog - %h2 Non lasciare che i tuoi amici facciano copia incolla dei git logs nei changelog. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Versione diff --git a/source/ja/1.0.0/index.html.haml b/source/ja/1.0.0/index.html.haml index 7b6ef0cd..7be917c1 100644 --- a/source/ja/1.0.0/index.html.haml +++ b/source/ja/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog -title: Keep a Changelog +title: 変更履歴を記録する +description: 友達にGitログを変更履歴に移させないでください。 language: ja version: 1.0.0 --- .header .title - %h1 変更履歴を記録する - %h2 友達にGitログを変更履歴に移させないでください。 + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/ja/1.1.0/index.html.haml b/source/ja/1.1.0/index.html.haml index d29ddcb1..deab6342 100644 --- a/source/ja/1.1.0/index.html.haml +++ b/source/ja/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: 変更履歴を記録する title: 変更履歴を記録する +description: 友達がGit記録を変更履歴に丸写しするのを止めさせよう。 language: ja version: 1.1.0 --- .header .title - %h1 変更履歴を記録する - %h2 友達がGit記録を変更履歴に丸写しするのを止めさせよう。 + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/ka/1.0.0/index.html.haml b/source/ka/1.0.0/index.html.haml index 4e7974d1..250252da 100644 --- a/source/ka/1.0.0/index.html.haml +++ b/source/ka/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: შეინარჩუნე ცვლილებების ჟურნალი title: შეინარჩუნე ცვლილებების ჟურნალი +description: არ მისცე უფლება მეგობრებს git ჩანაწერები ჩაწერონ ცვლილებების ჟურნალში language: en version: 1.0.0 --- .header .title - %h1 შეინარჩუნე ცვლილებების ჟურნალი - %h2 არ მისცე უფლება მეგობრებს git ჩანაწერები ჩაწერონ ცვლილებების ჟურნალში + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/ko/1.0.0/index.html.haml b/source/ko/1.0.0/index.html.haml index 7c3ca0eb..63466742 100644 --- a/source/ko/1.0.0/index.html.haml +++ b/source/ko/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog title: Keep a Changelog +description: 동료가 git 로그를 changelogs에 덤프하게 내버려 두지 마세요. language: ko version: 1.0.0 --- .header .title - %h1 Changelog 관리 - %h2 동료가 git 로그를 changelogs에 덤프하게 내버려 두지 마세요. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/layouts/layout.html.haml b/source/layouts/layout.html.haml index 14a3977c..035fe947 100644 --- a/source/layouts/layout.html.haml +++ b/source/layouts/layout.html.haml @@ -5,6 +5,7 @@ - versions = Dir.entries("source/#{language_code}") - %w[. ..] - current_version = current_page.metadata[:page][:version] - newer_version_available = File.exist?("source/#{language_code}/#{$last_version}") +- description = current_page.data.description || "bullshit" !!! 5 %html{ lang: current_page.data.language } @@ -20,8 +21,8 @@ %meta{ property: 'og:title', content: current_page.data.title } %meta{ property: 'og:type', content: 'article' } %meta{ property: 'og:url', content: path_to_url(current_page.url) } - %meta{ property: 'og:description', content: current_page.data.description } - %meta{ property: 'og:image', content: image_url("keep-a-changelog-opengraph.png") } + %meta{ property: 'og:description', content: description } + %meta{ property: 'og:image', content: path_to_url(image_path("keep-a-changelog-opengraph.png")) } = yield_content :og -# Icons diff --git a/source/nb/1.1.0/index.html.haml b/source/nb/1.1.0/index.html.haml index 065865b4..e114ee9e 100644 --- a/source/nb/1.1.0/index.html.haml +++ b/source/nb/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Lag en Endringslogg title: Lag en Endringslogg +description: Ikke la vennene dine dumpe git logger i endringslogger. language: nb version: 1.1.0 --- .header .title - %h1 Lag en Endringslogg - %h2 Ikke la vennene dine dumpe git logger i endringslogger. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Versjon diff --git a/source/nl/1.0.0/index.html.haml b/source/nl/1.0.0/index.html.haml index 526381fc..f49820bb 100644 --- a/source/nl/1.0.0/index.html.haml +++ b/source/nl/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog +description: Laat je vrienden geen git logs in changelogs dumpen. title: Keep a Changelog language: nl version: 1.0.0 --- .header .title - %h1 Houd een Changelog bij - %h2 Laat je vrienden geen git logs in changelogs dumpen. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Versie diff --git a/source/nl/1.1.0/index.html.haml b/source/nl/1.1.0/index.html.haml index 26963b67..c81bc196 100644 --- a/source/nl/1.1.0/index.html.haml +++ b/source/nl/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog +description: Laat je vrienden geen git logs in changelogs dumpen. title: Keep a Changelog language: nl version: 1.1.0 --- .header .title - %h1 Houd een Changelog bij - %h2 Laat je vrienden geen git logs in changelogs dumpen. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Versie diff --git a/source/pl/0.3.0/index.html.haml b/source/pl/0.3.0/index.html.haml index 629d2c3f..d978b0e7 100644 --- a/source/pl/0.3.0/index.html.haml +++ b/source/pl/0.3.0/index.html.haml @@ -1,22 +1,22 @@ --- -description: Prowadź Changelog title: Prowadź Changelog +description: Nie pozwól, by twoi znajomi wklejali logi gita do CHANGELOGów language: pl version: 0.3.0 --- -:markdown - # Prowadź CHANGELOG - - ## Nie pozwól, by twoi znajomi wklejali logi gita do CHANGELOGów™ +%h1= current_page.data.title +%h2= current_page.data.description - Wersja **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### Czym jest changelog? Changelog, inaczej rejestr zmian lub historia zmian, to plik zawierający chronologicznie uporządkowaną listę istotnych zmian dla każdej wersji projektu. -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
+:markdown ### Co jest celem prowadzenia changelogu? Changelog pomaga użytkownikom zrozumieć, jakie znaczące zmiany zostały wprowadzone w każdej wersji projektu. diff --git a/source/pl/1.0.0/index.html.haml b/source/pl/1.0.0/index.html.haml index 35b0ae90..32232852 100644 --- a/source/pl/1.0.0/index.html.haml +++ b/source/pl/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Prowadź Changelog title: Prowadź Changelog +description: Nie pozwól swoim znajomym wklejać logów Gita do changelogów. language: pl version: 1.0.0 --- .header .title - %h1 Prowadź Changelog - %h2 Nie pozwól swoim znajomym wklejać logów Gita do changelogów. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Wersja diff --git a/source/pl/1.1.0/index.html.haml b/source/pl/1.1.0/index.html.haml index 174deee8..e8bf02d9 100644 --- a/source/pl/1.1.0/index.html.haml +++ b/source/pl/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Prowadź Changelog title: Prowadź Changelog +description: Nie pozwól swoim znajomym wklejać logów Gita do changelogów. language: pl version: 1.1.0 --- .header .title - %h1 Prowadź Changelog - %h2 Nie pozwól swoim znajomym wklejać logów Gita do changelogów. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Wersja diff --git a/source/pt-BR/0.3.0/index.html.haml b/source/pt-BR/0.3.0/index.html.haml index d3d07b97..b60042a1 100644 --- a/source/pt-BR/0.3.0/index.html.haml +++ b/source/pt-BR/0.3.0/index.html.haml @@ -1,24 +1,23 @@ --- -description: Mantenha um CHANGELOG title: Mantenha um CHANGELOG +description: Não deixe seus amigos despejarem logs de commits em CHANGELOGs language: pt-BR version: 0.3.0 --- -:markdown - # Mantenha um CHANGELOG - - ## Não deixe seus amigos despejarem logs de commits em CHANGELOGs™ +%h1= current_page.data.title +%h2= current_page.data.description - Version **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### O que é um *changelog*? Um *changelog* é um arquivo que contém uma lista selecionada, ordenada cronologicamente, de mudanças significativas para cada versão de um projeto *open source*. -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
:markdown ### Para que serve um *changelog*? diff --git a/source/pt-BR/1.0.0/index.html.haml b/source/pt-BR/1.0.0/index.html.haml index e285b8c6..22e110d3 100644 --- a/source/pt-BR/1.0.0/index.html.haml +++ b/source/pt-BR/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Mantenha um Changelog title: Mantenha um Changelog +description: Não deixe seus amigos despejarem logs de commits no Changelog language: pt-BR version: 1.0.0 --- .header .title - %h1 Mantenha um Changelog - %h2 Não deixe seus amigos despejarem logs de commits no Changelog + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/pt-BR/1.1.0/index.html.haml b/source/pt-BR/1.1.0/index.html.haml index 927077b1..b7931170 100644 --- a/source/pt-BR/1.1.0/index.html.haml +++ b/source/pt-BR/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Mantenha um Changelog title: Mantenha um Changelog +description: Não deixe seus amigos despejarem logs de commits no Changelog language: pt-BR version: 1.1.0 --- .header .title - %h1 Mantenha um Changelog - %h2 Não deixe seus amigos despejarem logs de commits no Changelog + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/ro/1.1.0/index.html.haml b/source/ro/1.1.0/index.html.haml index 5ce656bc..cbcdf440 100644 --- a/source/ro/1.1.0/index.html.haml +++ b/source/ro/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Ține un jurnal de modificări title: Ține un jurnal de modificări +description: Nu-ți lăsa prietenii să arunce jurnalele git în jurnalul de modificări. language: ro version: 1.1.0 --- .header .title - %h1 Ține un jurnal de modificări - %h2 Nu-ți lăsa prietenii să arunce jurnalele git în jurnalul de modificări. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Versiune diff --git a/source/ru/0.3.0/index.html.haml b/source/ru/0.3.0/index.html.haml index d2f127d7..2419a02a 100644 --- a/source/ru/0.3.0/index.html.haml +++ b/source/ru/0.3.0/index.html.haml @@ -1,25 +1,25 @@ --- -description: Ведите Changelog title: Ведите Changelog +description: Не позволяйте друзьям сливать логи гита в CHANGELOG language: ru version: 0.3.0 --- -:markdown - # Ведите CHANGELOG - - ## Не позволяйте друзьям сливать логи гита в CHANGELOG™ +%h1= current_page.data.title +%h2= current_page.data.description - Version **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### Что такое лог изменений? Лог изменений – это файл, который содержит поддерживаемый, упорядоченный в хронологическом порядке список значимых изменений для каждой версии проекта с открытым исходным кодом. -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
+:markdown ### Для чего нужен лог изменений? Чтобы пользователи и контрибьюторы могли с меньшими усилиями точно diff --git a/source/ru/1.0.0/index.html.haml b/source/ru/1.0.0/index.html.haml index 95cfb694..22e8a006 100644 --- a/source/ru/1.0.0/index.html.haml +++ b/source/ru/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog -title: Keep a Changelog +title: Ведите changelog +description: Не позволяйте своим друзьям сливать логи Git в changelog’и. language: ru version: 1.0.0 --- .header .title - %h1 Ведите changelog - %h2 Не позволяйте своим друзьям сливать логи Git в changelog’и. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/ru/1.1.0/index.html.haml b/source/ru/1.1.0/index.html.haml index 9c2091c2..8a74b265 100644 --- a/source/ru/1.1.0/index.html.haml +++ b/source/ru/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Keep a Changelog -title: Keep a Changelog +title: Ведите changelog +description: Не позволяйте своим друзьям сливать логи Git в changelog’и. language: ru version: 1.1.0 --- .header .title - %h1 Ведите changelog - %h2 Не позволяйте своим друзьям сливать логи Git в changelog’и. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/sk/1.0.0/index.html.haml b/source/sk/1.0.0/index.html.haml index 46b0cf03..032e4b06 100644 --- a/source/sk/1.0.0/index.html.haml +++ b/source/sk/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Udržuj changelog title: Udržuj changelog +description: Nenechaj kamarátov sypať git logy do changelogov. language: sk version: 1.0.0 --- .header .title - %h1 Udržuj changelog - %h2 Nenechaj kamarátov sypať git logy do changelogov. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Verzia diff --git a/source/sl/0.3.0/index.html.haml b/source/sl/0.3.0/index.html.haml index f175b2e1..f6212101 100644 --- a/source/sl/0.3.0/index.html.haml +++ b/source/sl/0.3.0/index.html.haml @@ -1,23 +1,23 @@ --- -description: Keep a Changelog title: Keep a Changelog +description: Ne dopustite, da vaši prijatelji odlagajo git dnevnike v CHANGELOG™ language: sl version: 0.3.0 --- -:markdown - # Vzdržujte dnevnik sprememb oz. CHANGELOG - - ## Ne dopustite, da vaši prijatelji odlagajo git dnevnike v CHANGELOG™ +%h1= current_page.data.title +%h2= current_page.data.description - Verzija **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### Kaj je dnevnik sprememb? Dnevnik sprememb je datoteka, ki vsebuje kuriran, kronološko urejen seznam opaznih sprememb za vsako verzijo projekta. -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
+:markdown ### Kaj je smisel dnevnika sprememb? Za poenostavitev, da uporabniki in prispevajoči sodelavci natančno vidijo, katere opazne spremembe so bile narejene med vsako izdajo (ali verzijo) projekta. diff --git a/source/sl/1.0.0/index.html.haml b/source/sl/1.0.0/index.html.haml index ee0487da..88864cee 100644 --- a/source/sl/1.0.0/index.html.haml +++ b/source/sl/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Vzdržujte dnevnik sprememb title: Vzdržujte dnevnik sprememb +description: Ne dopustite, da vaši prijatelji odlagajo dnevnike Git v dnevnike sprememb. language: sl version: 1.0.0 --- .header .title - %h1 Vzdržujte dnevnik sprememb (Changelog) - %h2 Ne dopustite, da vaši prijatelji odlagajo dnevnike Git v dnevnike sprememb. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Različica diff --git a/source/sl/1.1.0/index.html.haml b/source/sl/1.1.0/index.html.haml index 42d277b8..ff26f29d 100644 --- a/source/sl/1.1.0/index.html.haml +++ b/source/sl/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Vzdržujte dnevnik sprememb title: Vzdržujte dnevnik sprememb +description: Ne dopustite, da vaši prijatelji odlagajo dnevnike Git v dnevnike sprememb. language: sl version: 1.1.0 --- .header .title - %h1 Vzdržujte dnevnik sprememb (Changelog) - %h2 Ne dopustite, da vaši prijatelji odlagajo dnevnike Git v dnevnike sprememb. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Različica diff --git a/source/sr/1.0.0/index.html.haml b/source/sr/1.0.0/index.html.haml index c19dbeed..b5ac8c9c 100644 --- a/source/sr/1.0.0/index.html.haml +++ b/source/sr/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Vodite changelog title: Vodite changelog +description: Ne dajte prijateljima da trpaju git logove u changelogove. language: sr version: 1.0.0 --- .header .title - %h1 Vodite Changelog - %h2 Ne dajte prijateljima da trpaju git logove u changelogove. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Verzija diff --git a/source/sv/0.3.0/index.html.haml b/source/sv/0.3.0/index.html.haml index 7bec9671..39e88451 100644 --- a/source/sv/0.3.0/index.html.haml +++ b/source/sv/0.3.0/index.html.haml @@ -1,23 +1,23 @@ --- -description: Håll en ändringslogg title: Håll en ändringslogg +description: Låt inte dina vänner slänga in en git logs i CHANGELOG™ language: sv version: 0.3.0 --- -:markdown - # Håll en CHANGELOG - - ## Låt inte dina vänner slänga in en git logs i CHANGELOG™ +%h1= current_page.data.title +%h2= current_page.data.description - Version **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### Vad är en ändringslogg? En ändringslogg är en fil innehållandes en sammanfattad, kronologiskt ordnad lista över ändringar för varje version av ett projekt. -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
+:markdown ### Vad är meningen med en ändringslogg? För att göra det enkelt för användare och medarbetare att se exakt vilka viktiga ändringar som har gjorts mellan varje utgåva (eller version) av projektet. diff --git a/source/sv/1.0.0/index.html.haml b/source/sv/1.0.0/index.html.haml index 0453289e..4cdc9dbc 100644 --- a/source/sv/1.0.0/index.html.haml +++ b/source/sv/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: För en ändringslogg title: För en ändringslogg +description: Låt inte dina vänner slänga in git-loggar i ändringsloggar. language: sv version: 1.0.0 --- .header .title - %h1 För en ändringslogg - %h2 Låt inte dina vänner slänga in git-loggar i ändringsloggar. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/sv/1.1.0/index.html.haml b/source/sv/1.1.0/index.html.haml index 208f7e65..a44302ca 100644 --- a/source/sv/1.1.0/index.html.haml +++ b/source/sv/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: För en ändringslogg title: För en ändringslogg +description: Låt inte dina vänner slänga in git-loggar i ändringsloggar. language: sv version: 1.1.0 --- .header .title - %h1 För en ändringslogg - %h2 Låt inte dina vänner slänga in git-loggar i ändringsloggar. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/tr-TR/0.3.0/index.html.haml b/source/tr-TR/0.3.0/index.html.haml index a277ddba..98371e80 100644 --- a/source/tr-TR/0.3.0/index.html.haml +++ b/source/tr-TR/0.3.0/index.html.haml @@ -1,21 +1,23 @@ --- -description: Değişiklik kaydı tutun +description: Arkadaşlarınızın, git kayıtlarını CHANGELOG dosyalarına yığmasını engelleyin title: Değişiklik kaydı tutun language: tr-TR version: 0.3.0 --- -:markdown - # CHANGELOG dosyası kullanın +%h1= current_page.data.title +%h2= current_page.data.description - ## Arkadaşlarınızın, git kayıtlarını CHANGELOG dosyalarına yığmasını engelleyin™ +Version #{current_page.metadata[:page][:version]} +:markdown ### Nedir bu değişiklik kayıtları? Değişiklik kayıtları bir proje için özel olarak hazırlanmış, tarihsel sıralamayla sıralanmış, önemli değişikliklerin bir bütünüdür. -
#{File.read("CHANGELOG.md")}
+
#{File.read("CHANGELOG.md")}
+:markdown ### Değişikliklerin kayıtlarını tutmanın anlamı ne? Bir projenin kullanıcılarının ya da katılımcılarının, dağıtımlar (ya da sürümler) arasındaki tam olarak hangi önemli değişikliklerin olduğunu takip edebilmelerini sağlar. diff --git a/source/tr-TR/1.0.0/index.html.haml b/source/tr-TR/1.0.0/index.html.haml index c44d11a6..02ed3a4e 100644 --- a/source/tr-TR/1.0.0/index.html.haml +++ b/source/tr-TR/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Değişiklik kaydı tutun title: Değişiklik kaydı tutun +description: Arkadaşlarınızın, git mesajlarını değişiklik kayıtlarına yığmasını engelleyin. language: tr-TR version: 1.0.0 --- .header .title - %h1 Değişiklik kayıtları tutun - %h2 Arkadaşlarınızın, git mesajlarını değişiklik kayıtlarına yığmasını engelleyin. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/tr-TR/1.1.0/index.html.haml b/source/tr-TR/1.1.0/index.html.haml index 5fd386e9..d193d3eb 100644 --- a/source/tr-TR/1.1.0/index.html.haml +++ b/source/tr-TR/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Değişiklik kaydı tutun title: Değişiklik kaydı tutun +description: Arkadaşlarınızın, git mesajlarını değişiklik kayıtlarına yığmasını engelleyin. language: tr-TR version: 1.1.0 --- .header .title - %h1 Değişiklik kayıtları tutun - %h2 Arkadaşlarınızın, git mesajlarını değişiklik kayıtlarına yığmasını engelleyin. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/uk/1.0.0/index.html.haml b/source/uk/1.0.0/index.html.haml index d6332d35..1412f9b0 100644 --- a/source/uk/1.0.0/index.html.haml +++ b/source/uk/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: Ведіть Changelog title: Ведіть Changelog +description: Не дозволяйте друзям зливати логи гіта у лог змін. language: uk version: 1.0.0 --- .header .title - %h1 Ведіть Changelog - %h2 Не дозволяйте друзям зливати логи гіта у лог змін. + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/uk/1.1.0/index.html.haml b/source/uk/1.1.0/index.html.haml index 056d2db9..d7c2144f 100644 --- a/source/uk/1.1.0/index.html.haml +++ b/source/uk/1.1.0/index.html.haml @@ -1,12 +1,12 @@ --- -description: Ведіть Changelog title: Ведіть Changelog +description: Не дозволяйте друзям зливати логи гіта у лог змін. language: uk version: 1.1.0 --- .header .title - %h1 Ведіть Changelog + %h1= current_page.data.title %h2 Не дозволяйте друзям зливати логи гіта у лог змін. = link_to data.links.changelog do diff --git a/source/zh-CN/0.3.0/index.html.haml b/source/zh-CN/0.3.0/index.html.haml index 80dcd2ed..d7af0375 100644 --- a/source/zh-CN/0.3.0/index.html.haml +++ b/source/zh-CN/0.3.0/index.html.haml @@ -1,24 +1,23 @@ --- -description: 如何维护更新日志 title: 如何维护更新日志 +description: 更新日志绝对不应该是git日志的堆砌物 language: zh-CN version: 0.3.0 --- -:markdown - # 如何维护更新日志 - - ## 更新日志绝对不应该是git日志的堆砌物 +%h1= current_page.data.title +%h2= current_page.data.description - Version **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### 更新日志是什么? 更新日志(Change Log)是一个由人工编辑,以时间为倒序的列表。 这个列表记录所有版本的重大变动。 +
#{File.read("CHANGELOG.md")}
-
#{File.read("CHANGELOG.md")}
- +:markdown ### 为何要提供更新日志? 为了让用户和开发人员更好知道每一个版本有哪些区别。 diff --git a/source/zh-CN/1.0.0/index.html.haml b/source/zh-CN/1.0.0/index.html.haml index ce32d7b4..7e31e3c4 100644 --- a/source/zh-CN/1.0.0/index.html.haml +++ b/source/zh-CN/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: 如何维护更新日志 title: 如何维护更新日志 +description: 更新日志绝对不应该是 git 日志的堆砌物 language: zh-CN version: 1.0.0 --- .header .title - %h1 如何维护更新日志 - %h2 更新日志绝对不应该是 git 日志的堆砌物 + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/zh-CN/1.1.0/index.html.haml b/source/zh-CN/1.1.0/index.html.haml index 3ce123d6..22cdbb08 100644 --- a/source/zh-CN/1.1.0/index.html.haml +++ b/source/zh-CN/1.1.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: 如何维护更新日志 title: 如何维护更新日志 +description: 更新日志绝对不应该是 git 日志的堆砌物 language: zh-CN version: 1.1.0 --- .header .title - %h1 如何维护更新日志 - %h2 更新日志绝对不应该是 git 日志的堆砌物 + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/zh-TW/0.3.0/index.html.haml b/source/zh-TW/0.3.0/index.html.haml index 6b45356a..4aef7422 100644 --- a/source/zh-TW/0.3.0/index.html.haml +++ b/source/zh-TW/0.3.0/index.html.haml @@ -1,24 +1,23 @@ --- -description: 如何維護更新日誌 title: 如何維護更新日誌 +description: 更新日誌絕對不應該是 git 日誌的堆砌物 language: zh-TW version: 0.3.0 --- -:markdown - # 如何維護更新日誌 - - ## 更新日誌絕對不應該是 git 日誌的堆砌物 +%h1= current_page.data.title +%h2= current_page.data.description - Version **#{current_page.metadata[:page][:version]}** +Version #{current_page.metadata[:page][:version]} +:markdown ### 更新日誌是什麽? 更新日誌(Change Log)是一個由人工編輯,以時間為倒敘的列表。 這個列表記錄所有版本的重大變動。 +
#{File.read("CHANGELOG.md")}
-
#{File.read("CHANGELOG.md")}
- +:markdown ### 為何要提供更新日誌? 為了讓用戶和開發人員更好知道每一個版本有哪些區別。 diff --git a/source/zh-TW/1.0.0/index.html.haml b/source/zh-TW/1.0.0/index.html.haml index 96b57f66..beb70499 100644 --- a/source/zh-TW/1.0.0/index.html.haml +++ b/source/zh-TW/1.0.0/index.html.haml @@ -1,13 +1,13 @@ --- -description: 如何維護更新日誌 title: 如何維護更新日誌 +description: 別讓你的更新日誌成為 git log 的雙胞胎 language: zh-TW version: 1.0.0 --- .header .title - %h1 如何維護更新日誌 - %h2 別讓你的更新日誌成為 git log 的雙胞胎 + %h1= current_page.data.title + %h2= current_page.data.description = link_to data.links.changelog do Version diff --git a/source/zh-TW/1.1.0/index.html.haml b/source/zh-TW/1.1.0/index.html.haml index 47058c03..8f824d86 100644 --- a/source/zh-TW/1.1.0/index.html.haml +++ b/source/zh-TW/1.1.0/index.html.haml @@ -1,12 +1,12 @@ --- -description: 如何維護更新日誌 title: 如何維護更新日誌 +description: 更新日誌絕對不應該是 git log 的堆砌物 language: zh-TW version: 1.1.0 --- .header .title - %h1 如何維護更新日誌 + %h1= current_page.data.title %h2 更新日誌絕對不應該是 git log 的堆砌物 = link_to data.links.changelog do