diff --git a/README.md b/README.md deleted file mode 100644 index f9b1d12..0000000 --- a/README.md +++ /dev/null @@ -1,30 +0,0 @@ -SR2's Hugo Theme -================ - - -[![Translation status](https://hosted.weblate.org/widget/sr2/hugo-sr2/svg-badge.svg)](https://hosted.weblate.org/engage/sr2/) -[![License](https://img.shields.io/badge/License-BSD_2--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause) - -A Hugo theme created for SR2, with some simple page and blog layouts. - -Examples --------- - - * [SR2 Communications](https://www.sr2.uk/) ([Source Code](https://guardianproject.dev/sr2/www.sr2.uk/)) - * [SR2 Professional Services](https://www.sr2pro.uk/) ([Source Code](https://guardianproject.dev/sr2/www.sr2pro.uk/)) - * [499-501 Union Street (Management) Limited](https://www.499501.com/) ([Source Code](https://guardianproject.dev/sr2/www.499501.com/)) - -Translations ------------- - -The theme is created to support multiple languages. -Translations of strings in the themes are managed on Weblate. - - -Translation status - - -Licence & Copyright -------------------- - -© SR2 Communications Limited. See [LICENCE](./LICENCE) for details of the BSD 2 clause licence. \ No newline at end of file diff --git a/i18n/en.toml b/i18n/en.toml index 1198bab..59bb26c 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,10 +1,3 @@ Published = 'Published' -Updated = 'Updated' By = 'By %s' -'Show larger map' = 'Show larger map' -Telephone = 'Telephone' -Email = 'Email' -Fax = 'Fax' -'Address' = 'Address' -'Our Team' = 'Our Team' -'Contact Us' = 'Contact Us' +'Show larger map' = 'Show larger map' \ No newline at end of file diff --git a/i18n/se.toml b/i18n/se.toml new file mode 100644 index 0000000..a6b3859 --- /dev/null +++ b/i18n/se.toml @@ -0,0 +1,3 @@ +Published = 'Publicerad' +By = 'Av %s' +'Show larger map' = 'Visa större karta' \ No newline at end of file diff --git a/i18n/sv.toml b/i18n/sv.toml deleted file mode 100644 index 06a9d6f..0000000 --- a/i18n/sv.toml +++ /dev/null @@ -1,9 +0,0 @@ -Published = 'Publicerad' -Updated = 'Ändrad' -By = 'Av %s' -'Show larger map' = 'Visa större karta' -Telephone = 'Telefon' -Email = 'Epost' -Fax = 'Fax' -'Our Team' = 'Vårt Team' -'Contact Us' = 'Kontakta oss' \ No newline at end of file diff --git a/i18n/tok.toml b/i18n/tok.toml deleted file mode 100644 index 698f629..0000000 --- a/i18n/tok.toml +++ /dev/null @@ -1,3 +0,0 @@ -Published = "tenpo toki" -By = "tan %s" -'Show larger map' = "o suli e sitelen ma" diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html index 00df7ed..9b5bf1b 100644 --- a/layouts/_partials/head.html +++ b/layouts/_partials/head.html @@ -9,27 +9,31 @@ {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} -{{ partial "head/scripts.html" . }} - - -{{- if .Description }} - +{{ if not .IsHome }} + + -{{- end }} -{{- if .Params.MetaKeywords }} - -{{- end }} -{{- if .Params.MetaAuthor }} - -{{- end }} - - - - - - + +{{ end }} +{{ if eq .Name "Contact" }} + + + +{{ end }} diff --git a/layouts/_partials/head/scripts.html b/layouts/_partials/head/scripts.html deleted file mode 100644 index 10b7d59..0000000 --- a/layouts/_partials/head/scripts.html +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file