From 107a62b88fbefeb39aee9ae6015d9c49410180e6 Mon Sep 17 00:00:00 2001 From: Robert J Date: Fri, 18 Jan 2019 21:32:02 +0100 Subject: [PATCH 1/4] themes/introduction/i18n/pl --- i18n/pl.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 i18n/pl.toml diff --git a/i18n/pl.toml b/i18n/pl.toml new file mode 100644 index 00000000..44c931e5 --- /dev/null +++ b/i18n/pl.toml @@ -0,0 +1,25 @@ +[404_title] + other = "404" +[404_description] + other = "Oops! Either you've found a bug{{ with .Site.Params.email }} (in which case, [please tell me](mailto:{{ . }})) {{ end }} or you're just making things up. This page doesn't exist!" +[index_projects_allProjects] + other = "All Projects" +[index_blog_latestPosts] + other = "Latest Post" +[index_blog_allPosts] + other = "All Posts" +[index_blog_readMore] + other = "Read more" +[index_currentTime] + other = "My current local time is" +[nav_backToSection] + other = "Back to {{ .Title }}" +[nav_main] + other = "main" +[blog_readingTime] + one = "{{ .Count }} minute read" + other = "{{ .Count }} minutes read" +[blog_shareThis] + other = "Share this" +[footer_text] + other = "[**Introduction**](https://github.com/vickylai/hugo-theme-introduction/) theme for [Hugo](http://gohugo.io/). Made with [ and ](https://vickylai.com) by open source contributors." From 865cd035d28b518276009ac54198b61c01fa7f9b Mon Sep 17 00:00:00 2001 From: Robert J Date: Fri, 18 Jan 2019 21:48:23 +0100 Subject: [PATCH 2/4] i18n/pl updated --- i18n/pl.toml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/i18n/pl.toml b/i18n/pl.toml index 44c931e5..c74b53d8 100644 --- a/i18n/pl.toml +++ b/i18n/pl.toml @@ -3,23 +3,23 @@ [404_description] other = "Oops! Either you've found a bug{{ with .Site.Params.email }} (in which case, [please tell me](mailto:{{ . }})) {{ end }} or you're just making things up. This page doesn't exist!" [index_projects_allProjects] - other = "All Projects" + other = "Wszystkie projekty" [index_blog_latestPosts] - other = "Latest Post" + other = "Ostatnie posty" [index_blog_allPosts] - other = "All Posts" + other = "Wszystkie posty" [index_blog_readMore] - other = "Read more" + other = "Więcej" [index_currentTime] - other = "My current local time is" + other = "Mój lokalny czas to" [nav_backToSection] - other = "Back to {{ .Title }}" + other = "Wróć do {{ .Title }}" [nav_main] - other = "main" + other = "główna" [blog_readingTime] - one = "{{ .Count }} minute read" - other = "{{ .Count }} minutes read" + one = "{{ .Count }} minut" + other = "{{ .Count }} minut" [blog_shareThis] - other = "Share this" + other = "Podziel się" [footer_text] - other = "[**Introduction**](https://github.com/vickylai/hugo-theme-introduction/) theme for [Hugo](http://gohugo.io/). Made with [ and ](https://vickylai.com) by open source contributors." + other = "[**Introduction**](https://github.com/vickylai/hugo-theme-introduction/) szablon dla [Hugo](http://gohugo.io/). Stworzony z [ i ](https://vickylai.com) przez społeczność open source." From 89db7de69a2f58b037636cbe878db31341de6719 Mon Sep 17 00:00:00 2001 From: Robert J Date: Fri, 18 Jan 2019 22:01:33 +0100 Subject: [PATCH 3/4] i18n/pl updated --- i18n/pl.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/pl.toml b/i18n/pl.toml index c74b53d8..d344b2c4 100644 --- a/i18n/pl.toml +++ b/i18n/pl.toml @@ -1,7 +1,7 @@ [404_title] other = "404" [404_description] - other = "Oops! Either you've found a bug{{ with .Site.Params.email }} (in which case, [please tell me](mailto:{{ . }})) {{ end }} or you're just making things up. This page doesn't exist!" + other = "Oops! Ta strona nie istnieje! Albo trafiłeś na błąd {{ with .Site.Params.email }} (w takim wypadku, [powiadom mnie](mailto:{{ . }}) ) {{ end }} albo próbujesz wejść na stronę, której nie ma." [index_projects_allProjects] other = "Wszystkie projekty" [index_blog_latestPosts] From 3cae0daeaa142e7636a84df0df89cafa2e53b56c Mon Sep 17 00:00:00 2001 From: Robert J Date: Sat, 19 Jan 2019 02:57:35 +0100 Subject: [PATCH 4/4] added crossorigin allowing CORS --- layouts/partials/css/owlCarousel.html | 2 +- layouts/partials/head/css.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/css/owlCarousel.html b/layouts/partials/css/owlCarousel.html index d42e685e..21117052 100644 --- a/layouts/partials/css/owlCarousel.html +++ b/layouts/partials/css/owlCarousel.html @@ -1,4 +1,4 @@ {{ $owlCarousel := resources.Get "vendor/owlCarousel/owl.carousel.min.css" }} {{ $owlCarouselTheme := resources.Get "vendor/owlCarousel/owl.theme.default.min.css" }} {{ $owlCarouselBundle := slice $owlCarousel $owlCarouselTheme | resources.Concat "/styles/owlCarousel.min.css" | fingerprint }} - + diff --git a/layouts/partials/head/css.html b/layouts/partials/head/css.html index 0b3f461c..6671f4c9 100644 --- a/layouts/partials/head/css.html +++ b/layouts/partials/head/css.html @@ -8,11 +8,11 @@ {{ $cssOpts := (dict "targetPath" "/css/main.css" ) }} {{ $postCSSOpts := (dict "use" "autoprefixer" ) }} {{ $bundle := $bundleRaw | toCSS $cssOpts | postCSS $postCSSOpts | minify | fingerprint }} - + {{ end }} {{ range .Site.Params.customCSS -}} {{ $style := resources.Get . }} - + {{- end }}