...
 
Commits (186)
# kate-editor.org
kate-editor.org website
This repository contains the full kate-editor.org website.
# Instantiate the page
You can create the static page by running
./update.sh
This will pull the git repo and run hugo with the right settings.
A checked in version of hugo is used that shall run on any CentOS >= 7 or compatible Linux x86-64 distribution.
# Live preview
You can start a local hugo powered web server via
./server.sh
The command will print the URL to use for local previewing.
# Update the syntax-highlighting framework update sites
Run the update regeneration script, that will pull in the necessary stuff from anongit.kde.org
./update-syntax.pl
Afterwards, check the files that were added to your local git clone and commit/push if that looks ok.
(all files updated shall be in static/syntax/... + the auto-generated content/syntax.md page)
This needs to be done after each frameworks release.
#!/usr/bin/env bash
FILENAME="kate-editor-org"
function export_pot_file # First parameter will be the path of the pot file we have to create, includes $FILENAME
{
potfile=$1
python3 translations.py extract $potfile
}
function import_po_files # First parameter will be a path that will contain several .po files with the format LANG.po
{
podir=$1
python3 translations.py import $podir
python3 translations.py generate-translations
rm -rf locale
}
# our homepage url
baseURL = "https://kate-editor.org/"
# cullmann.io website
title = "Kate | Get an Edge in Editing"
# theme hugo-coder
theme = "beautifulhugo"
# content == english, Impressum is german
languagecode = "en"
defaultcontentlanguage = "en"
# allow git
enableGitInfo = true
# nice urls
canonifyurls = true
# pygment settings
pygmentsStyle = "trac"
pygmentsUseClasses = true
pygmentsCodeFences = true
pygmentsCodefencesGuessSyntax = true
# add info for crawlers
enableRobotsTXT = true
[outputs]
# JSON for search
home = ["HTML", "RSS", "JSON"]
[params]
# we want to self-host stuff, no data leaks to google and co.
selfHosted = true
# Kate mascot
logo = "images/kate.png"
dateFormat = "January 2, 2006"
commit = true
rss = false
comments = false
readingTime = true
wordCount = false
useHLJS = true
socialShare = false
showRelatedPosts = true
#
# main menu
#
[menu]
[[menu.main]]
identifier = "blog"
name = "BLOG"
weight = 10
[[menu.main]]
parent = "blog"
name = "Posts"
url = ""
weight = 10
[[menu.main]]
parent = "blog"
name = "Categories"
url = "categories/"
weight = 20
[[menu.main]]
parent = "blog"
name = "Tags"
url = "tags/"
weight = 30
[[menu.main]]
identifier = "menu"
name = "MORE"
weight = 20
[[menu.main]]
parent = "menu"
name = "Features"
url = "about-kate/"
weight = 30
[[menu.main]]
parent = "menu"
name = "Get It"
url = "get-it/"
weight = 40
[[menu.main]]
parent = "menu"
name = "Build It"
url = "build-it/"
weight = 50
[[menu.main]]
parent = "menu"
name = "Get Help"
url = "support/"
weight = 60
[[menu.main]]
parent = "menu"
name = "Join Us"
url = "join-us/"
weight = 70
[[menu.main]]
parent = "menu"
name = "Featured Articles"
url = "featured-articles/"
weight = 80
[[menu.main]]
parent = "menu"
name = "KatePart"
url = "about-katepart/"
weight = 90
[[menu.main]]
parent = "menu"
name = "VI Mode"
url = "kate-vi-mode/"
weight = 100
[[menu.main]]
parent = "menu"
name = "The Team"
url = "the-team/"
weight = 110
[[menu.main]]
parent = "menu"
name = "Impressum"
url = "impressum/"
weight = 120
[[menu.main]]
name = "ABOUT"
url = "about/"
weight = 30
# maximal privacy
[privacy]
[privacy.disqus]
disable = true
[privacy.googleAnalytics]
disable = true
[privacy.instagram]
disable = true
[privacy.twitter]
disable = true
[privacy.vimeo]
disable = true
[privacy.youtube]
disable = true
Author:
name: The Kate Team
baseURL: https://kate-editor.org/
canonifyurls: true
defaultcontentlanguage: en
enableGitInfo: true
enableRobotsTXT: true
languagecode: en
languages:
ca:
languageName: "Catal\xE0"
menu:
main:
- name: "Obt\xE9n el Kate"
url: /get-it/
weight: 1
- name: Construeix
url: /build-it/
weight: 2
- identifier: blog
name: Blog
weight: 10
- name: Missatges
parent: blog
url: /post/
weight: 10
- name: Categories
parent: blog
url: /categories/
weight: 20
- name: Etiquetes
parent: blog
url: /tags/
weight: 30
- identifier: menu
name: "M\xE9s"
weight: 20
- name: Quant a
parent: menu
url: /about/
weight: 20
- name: "Caracter\xEDstiques"
parent: menu
url: /about-kate/
weight: 30
- name: "Obt\xE9n ajuda"
parent: menu
url: /support/
weight: 40
- name: Uniu-vos
parent: menu
url: /join-us/
weight: 50
- name: Articles destacats
parent: menu
url: /featured-articles/
weight: 60
- name: KatePart
parent: menu
url: /about-katepart/
weight: 70
- name: Mode del Vi
parent: menu
url: /kate-vi-mode/
weight: 80
- name: L'equip
parent: menu
url: /the-team/
weight: 90
- name: Ressaltat de sintaxi
parent: menu
url: /syntax/
weight: 100
- name: Impressum
parent: menu
url: /impressum/
weight: 110
weight: 2
ca@valencia:
menu:
main:
- name: "Obt\xE9n el Kate"
url: /get-it/
weight: 1
- name: Construeix
url: /build-it/
weight: 2
- identifier: blog
name: Blog
weight: 10
- name: Missatges
parent: blog
url: /post/
weight: 10
- name: Categories
parent: blog
url: /categories/
weight: 20
- name: Etiquetes
parent: blog
url: /tags/
weight: 30
- identifier: menu
name: "M\xE9s"
weight: 20
- name: Quant a
parent: menu
url: /about/
weight: 20
- name: "Caracter\xEDstiques"
parent: menu
url: /about-kate/
weight: 30
- name: "Obt\xE9n ajuda"
parent: menu
url: /support/
weight: 40
- name: Uniu-vos
parent: menu
url: /join-us/
weight: 50
- name: Articles destacats
parent: menu
url: /featured-articles/
weight: 60
- name: KatePart
parent: menu
url: /about-katepart/
weight: 70
- name: Mode del Vi
parent: menu
url: /kate-vi-mode/
weight: 80
- name: L'equip
parent: menu
url: /the-team/
weight: 90
- name: Ressaltat de sintaxi
parent: menu
url: /syntax/
weight: 100
- name: Impressum
parent: menu
url: /impressum/
weight: 110
weight: 2
ca_valencia:
menu:
main:
- name: "Obt\xE9n el Kate"
url: /get-it/
weight: 1
- name: Construeix
url: /build-it/
weight: 2
- identifier: blog
name: Blog
weight: 10
- name: Missatges
parent: blog
url: /post/
weight: 10
- name: Categories
parent: blog
url: /categories/
weight: 20
- name: Etiquetes
parent: blog
url: /tags/
weight: 30
- identifier: menu
name: "M\xE9s"
weight: 20
- name: Quant a
parent: menu
url: /about/
weight: 20
- name: "Caracter\xEDstiques"
parent: menu
url: /about-kate/
weight: 30
- name: "Obt\xE9n ajuda"
parent: menu
url: /support/
weight: 40
- name: Uniu-vos
parent: menu
url: /join-us/
weight: 50
- name: Articles destacats
parent: menu
url: /featured-articles/
weight: 60
- name: KatePart
parent: menu
url: /about-katepart/
weight: 70
- name: Mode del Vi
parent: menu
url: /kate-vi-mode/
weight: 80
- name: L'equip
parent: menu
url: /the-team/
weight: 90
- name: Ressaltat de sintaxi
parent: menu
url: /syntax/
weight: 100
- name: Impressum
parent: menu
url: /impressum/
weight: 110
weight: 2
cs:
menu:
main:
- name: Get Kate
url: /get-it/
weight: 1
- name: Build It
url: /build-it/
weight: 2
- identifier: blog
name: BLOG
weight: 10
- name: Posts
parent: blog
url: /post/
weight: 10
- name: Categories
parent: blog
url: /categories/
weight: 20
- name: Tags
parent: blog
url: /tags/
weight: 30
- identifier: menu
name: MORE
weight: 20
- name: ABOUT
parent: menu
url: /about/
weight: 20
- name: Features
parent: menu
url: /about-kate/
weight: 30
- name: Get Help
parent: menu
url: /support/
weight: 40
- name: Join Us
parent: menu
url: /join-us/
weight: 50
- name: Features Articles
parent: menu
url: /featured-articles/
weight: 60
- name: KatePart
parent: menu
url: /about-katepart/
weight: 70
- name: VI mode
parent: menu
url: /kate-vi-mode/
weight: 80
- name: The Team
parent: menu
url: /the-team/
weight: 90
- name: Syntax Highlighting
parent: menu
url: /syntax/
weight: 100
- name: Impressum
parent: menu
url: /impressum/
weight: 110
weight: 2
de:
languageName: Deutsch
weight: 2
el:
languageName: "\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"
weight: 2
en:
languageName: English
weight: 1
es:
languageName: "Espa\xF1ol"
menu:
main:
- name: Obtener Kate
url: /get-it/
weight: 1
- name: "Compilaci\xF3n de Kate"
url: /build-it/
weight: 2
- identifier: blog
name: Blog
weight: 10
- name: Publicaciones
parent: blog
url: /post/
weight: 10
- name: "Categor\xEDas"
parent: blog
url: /categories/
weight: 20
- name: Etiquetas
parent: blog
url: /tags/
weight: 30
- identifier: menu
name: "M\xE1s"
weight: 20
- name: Acerca de
parent: menu
url: /about/
weight: 20
- name: Funcionalidades
parent: menu
url: /about-kate/
weight: 30
- name: Obtener ayuda
parent: menu
url: /support/
weight: 40
- name: "\xDAnase a nosotros"
parent: menu
url: /join-us/
weight: 50
- name: "Art\xEDculos sobre funcionalidades"
parent: menu
url: /featured-articles/
weight: 60
- name: KatePart
parent: menu
url: /about-katepart/
weight: 70
- name: Modo VI
parent: menu
url: /kate-vi-mode/
weight: 80
- name: El equipo
parent: menu
url: /the-team/
weight: 90
- name: Resaltado de sintaxis
parent: menu
url: /syntax/
weight: 100
- name: Impressum
parent: menu
url: /impressum/
weight: 110
weight: 2
et:
languageName: Eesti
menu:
main:
- name: Hangi Kate
url: /get-it/
weight: 1
- name: Ehita Kate
url: /build-it/
weight: 2
- identifier: blog
name: AJAVEEB
weight: 10
- name: Postitused
parent: blog
url: /post/
weight: 10
- name: Kategooriad
parent: blog
url: /categories/
weight: 20
- name: Sildid
parent: blog
url: /tags/
weight: 30
- identifier: menu
name: ROHKEM
weight: 20
- name: TEAVE
parent: menu
url: /about/
weight: 20
- name: Omadused
parent: menu
url: /about-kate/
weight: 30
- name: Hangi abi
parent: menu
url: /support/
weight: 40
- name: Liitu meiega
parent: menu
url: /join-us/
weight: 50
- name: Omaduste artiklid
parent: menu
url: /featured-articles/
weight: 60
- name: Kate komponent
parent: menu
url: /about-katepart/
weight: 70
- name: "Vi sisestusre\u017Eiim"
parent: menu
url: /kate-vi-mode/
weight: 80
- name: Meeskond
parent: menu
url: /the-team/
weight: 90
- name: "S\xFCntaksi esilet\xF5stmine"
parent: menu
url: /syntax/
weight: 100
- name: Impressum
parent: menu
url: /impressum/
weight: 110
weight: 2
eu:
languagename: Euskara
weight: 2
fi:
languageName: Suomi
weight: 2
fr:
languageName: "Fran\xE7ais"
menu:
main:
- name: Get Kate
url: /get-it/
weight: 1
- name: Build It
url: /build-it/
weight: 2
- identifier: blog
name: BLOG
weight: 10
- name: Posts
parent: blog
url: /post/
weight: 10
- name: Categories
parent: blog
url: /categories/
weight: 20
- name: Tags
parent: blog
url: /tags/
weight: 30
- identifier: menu
name: MORE
weight: 20
- name: ABOUT
parent: menu
url: /about/
weight: 20
- name: Features
parent: menu
url: /about-kate/
weight: 30
- name: Get Help
parent: menu
url: /support/
weight: 40
- name: Join Us
parent: menu
url: /join-us/
weight: 50
- name: Features Articles
parent: menu
url: /featured-articles/
weight: 60
- name: KatePart
parent: menu
url: /about-katepart/
weight: 70
- name: VI mode
parent: menu
url: /kate-vi-mode/
weight: 80
- name: The Team
parent: menu
url: /the-team/
weight: 90
- name: Syntax Highlighting
parent: menu
url: /syntax/
weight: 100
- name: Impressum
parent: menu
url: /impressum/
weight: 110
weight: 2
gl:
languageName: Galego
weight: 2
it:
languageName: Italiano
menu:
main:
- name: Get Kate
url: /get-it/
weight: 1
- name: Build It
url: /build-it/
weight: 2
- identifier: blog
name: BLOG
weight: 10
- name: Posts
parent: blog
url: /post/
weight: 10
- name: Categories
parent: blog
url: /categories/
weight: 20
- name: Tags
parent: blog
url: /tags/
weight: 30
- identifier: menu
name: MORE
weight: 20
- name: ABOUT
parent: menu
url: /about/
weight: 20
- name: Features
parent: menu
url: /about-kate/
weight: 30
- name: Get Help
parent: menu
url: /support/
weight: 40
- name: Join Us
parent: menu
url: /join-us/
weight: 50
- name: Features Articles
parent: menu
url: /featured-articles/
weight: 60
- name: KatePart
parent: menu
url: /about-katepart/
weight: 70
- name: VI mode
parent: menu
url: /kate-vi-mode/
weight: 80
- name: The Team
parent: menu
url: /the-team/
weight: 90
- name: Syntax Highlighting
parent: menu
url: /syntax/
weight: 100
- name: Impressum
parent: menu
url: /impressum/
weight: 110
weight: 2
ko:
languageName: "\uD55C\uAD6D\uC5B4"
menu:
main:
- name: "Kate \uB2E4\uC6B4\uB85C\uB4DC"
url: /get-it/
weight: 1
- name: "\uBE4C\uB4DC\uD558\uAE30"
url: /build-it/
weight: 2
- identifier: blog
name: "\uBE14\uB85C\uADF8"
weight: 10
- name: "\uAE00"
parent: blog
url: /post/
weight: 10
- name: "\uBD84\uB958"
parent: blog
url: /categories/
weight: 20
- name: "\uD0DC\uADF8"
parent: blog
url: /tags/
weight: 30
- identifier: menu
name: "\uB354 \uBCF4\uAE30"
weight: 20
- name: "\uC815\uBCF4"
parent: menu
url: /about/
weight: 20
- name: "\uAE30\uB2A5"
parent: menu
url: /about-kate/
weight: 30
- name: "\uB3C4\uC6C0 \uBC1B\uAE30"
parent: menu
url: /support/
weight: 40
- name: "\uCC38\uC5EC\uD558\uAE30"
parent: menu
url: /join-us/
weight: 50
- name: "\uAE30\uB2A5 \uB458\uB7EC\uBCF4\uAE30"
parent: menu
url: /featured-articles/
weight: 60
- name: KatePart
parent: menu
url: /about-katepart/
weight: 70
- name: "VI \uBAA8\uB4DC"
parent: menu
url: /kate-vi-mode/
weight: 80
- name: "\uD300"
parent: menu
url: /the-team/
weight: 90
- name: "\uAD6C\uBB38 \uAC15\uC870"
parent: menu
url: /syntax/
weight: 100
- name: Impressum
parent: menu
url: /impressum/
weight: 110
weight: 2
lt:
languageName: "Lietuvi\u0173"
menu:
main:
- name: Get Kate
url: /get-it/
weight: 1
- name: Build It
url: /build-it/
weight: 2
- identifier: blog
name: BLOG
weight: 10
- name: Posts
parent: blog
url: /post/
weight: 10
- name: Categories
parent: blog
url: /categories/
weight: 20
- name: Tags
parent: blog
url: /tags/
weight: 30