From 55efc0e6ea60ab340f3ac87542e588c1adceed47 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:39:57 -0600 Subject: [PATCH] =?UTF-8?q?Variigu=20la=20retejnomon=20la=C5=AD=20lingvo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … ankaŭ uzu mallongan version de la nomo en , ĉar »Lab. Ŝinonome« eble plitaŭgas tie ol »Laboratorio Ŝinonome«. :P Tio ĉi efektive difinas niajn proprajn tradukvalorojn, kiuj kopiiĝu al la fino de la oficialaj tradukdosieroj. --- .../locale/locale_en-US.nia_propra.ini | 3 ++ .../options/locale/locale_eo.nia_propra.ini | 3 ++ custom/templates/base/head.tmpl | 51 +++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 custom/options/locale/locale_en-US.nia_propra.ini create mode 100644 custom/options/locale/locale_eo.nia_propra.ini create mode 100644 custom/templates/base/head.tmpl diff --git a/custom/options/locale/locale_en-US.nia_propra.ini b/custom/options/locale/locale_en-US.nia_propra.ini new file mode 100644 index 0000000..55408bd --- /dev/null +++ b/custom/options/locale/locale_en-US.nia_propra.ini @@ -0,0 +1,3 @@ +[shinonome] +titolo = Shinonome Laboratories +titolo_mallonge = Shinonome Labs diff --git a/custom/options/locale/locale_eo.nia_propra.ini b/custom/options/locale/locale_eo.nia_propra.ini new file mode 100644 index 0000000..57cfd73 --- /dev/null +++ b/custom/options/locale/locale_eo.nia_propra.ini @@ -0,0 +1,3 @@ +[shinonome] +titolo = Laboratorio Ŝɪɴᴏɴᴏᴍᴇ +titolo_mallonge = Lab. Ŝinonome diff --git a/custom/templates/base/head.tmpl b/custom/templates/base/head.tmpl new file mode 100644 index 0000000..9c537e2 --- /dev/null +++ b/custom/templates/base/head.tmpl @@ -0,0 +1,51 @@ +<!DOCTYPE html> +<html lang="{{ctx.Locale.Lang}}" data-theme="{{ThemeName .SignedUser}}"> +<head> + <meta name="viewport" content="width=device-width, initial-scale=1"> + {{/* Display `- .Repsository.FullName` only if `.Title` does not already start with that. */}} + <title>{{if .Title}}{{.Title | RenderEmojiPlain}} - {{end}}{{if and (.Repository.Name) (not (StringUtils.HasPrefix .Title .Repository.FullName))}}{{.Repository.FullName}} - {{end}}{{ctx.Locale.Tr "shinonome.titolo_mallonge"}} + {{if .ManifestData}}{{end}} + + + + +{{if .GoGetImport}} + + +{{end}} +{{if and .EnableFeed .FeedURL}} + + +{{end}} + + + {{template "base/head_script" .}} + + {{template "base/head_opengraph" .}} + {{template "base/head_style" .}} + {{template "custom/header" .}} + + + {{ctx.DataRaceCheck $.Context}} + {{template "custom/body_outer_pre" .}} + +
+ + + {{template "custom/body_inner_pre" .}} + + {{if not .PageIsInstall}} + {{template "base/head_navbar" .}} + {{end}} + +{{if false}} + {{/* to make html structure "likely" complete to prevent IDE warnings */}} +
+ + +{{end}}