diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..0d12b97 --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +SpeedTech Website \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..639900d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..61a8d20 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/layouts/blogibis/single.html b/layouts/blogibis/single.html index 2ea86b1..5d30658 100644 --- a/layouts/blogibis/single.html +++ b/layouts/blogibis/single.html @@ -21,27 +21,21 @@
-
-
-
- {{ if isset .Params "images"}} - {{ if (fileExists (printf "assets/%s" (index .Params.images 0))) -}} - {{ $mainimage := resources.Get (index .Params.images 0) }} -

-

- {{ end }} - {{ end }} +
+ {{ if isset .Params "images"}} + {{ if (fileExists (printf "assets/%s" (index .Params.images 0))) -}} + {{ $mainimage := resources.Get (index .Params.images 0) }} +

+ {{ end }} + {{ end }} -
- {{ .Content }} -
+
+ {{ .Content }} +
- {{ i18n "publishdate"}} : {{.PublishDate.Format "2006-01-02"}} | {{ i18n "lastchange"}} : {{.Lastmod.Format "2006-01-02"}} + {{ i18n "publishdate"}} : {{.PublishDate.Format "2006-01-02"}} | {{ i18n "lastchange"}} : {{.Lastmod.Format "2006-01-02"}} - {{ partial "widgets/ibiscattags.html" . }} - -
-
+ {{ partial "widgets/ibiscattags.html" . }}
{{ partial "widgets/ibissidebar.html" . }} diff --git a/layouts/blogspot/single.html b/layouts/blogspot/single.html index 6a890bf..578bbd3 100644 --- a/layouts/blogspot/single.html +++ b/layouts/blogspot/single.html @@ -21,27 +21,21 @@
-
-
-
+
+ {{ if isset .Params "images"}} + {{ if (fileExists (printf "assets/%s" (index .Params.images 0))) -}} + {{ $mainimage := resources.Get (index .Params.images 0) }} +

+ {{ end }} + {{ end }} - {{ if isset .Params "images"}} - {{ if (fileExists (printf "assets/%s" (index .Params.images 0))) -}} - {{ $mainimage := resources.Get (index .Params.images 0) }} -

- {{ end }} - {{ end }} +
+ {{ .Content }} +
-
- {{ .Content }} -
+ {{ i18n "publishdate"}} : {{.PublishDate.Format "2006-01-02"}} | {{ i18n "lastchange"}} : {{.Lastmod.Format "2006-01-02"}} - {{ i18n "publishdate"}} : {{.PublishDate.Format "2006-01-02"}} | {{ i18n "lastchange"}} : {{.Lastmod.Format "2006-01-02"}} - - {{ partial "partials/widgets/spotcattags.html" . }} - -
-
+ {{ partial "partials/widgets/spotcattags.html" . }}
{{ partial "partials/widgets/spotsidebar.html" . }} diff --git a/layouts/partials/article-item.html b/layouts/partials/article-item.html index 0827068..7f62b43 100644 --- a/layouts/partials/article-item.html +++ b/layouts/partials/article-item.html @@ -1,5 +1,5 @@
-

{{.article.Title}}

+

{{.article.Title}}

{{ if isset .article.Params "images"}} {{ if (fileExists (printf "assets/%s" (index .article.Params.images 0))) -}} diff --git a/layouts/partials/widgets/ibissidebar.html b/layouts/partials/widgets/ibissidebar.html index da11bca..aaab8a8 100644 --- a/layouts/partials/widgets/ibissidebar.html +++ b/layouts/partials/widgets/ibissidebar.html @@ -1,4 +1,4 @@ -
+
{{ if isset .Site.Taxonomies "tagsibis" }} {{ if not (eq (len .Site.Taxonomies.tagsibis) 0) }}
diff --git a/layouts/partials/widgets/spotsidebar.html b/layouts/partials/widgets/spotsidebar.html index 2b50982..22eebc5 100644 --- a/layouts/partials/widgets/spotsidebar.html +++ b/layouts/partials/widgets/spotsidebar.html @@ -1,4 +1,4 @@ -
+
{{ if isset .Site.Taxonomies "tagsspot" }} {{ if not (eq (len .Site.Taxonomies.tagsspot) 0) }}
diff --git a/layouts/service/single.html b/layouts/service/single.html index b464c1a..459f544 100644 --- a/layouts/service/single.html +++ b/layouts/service/single.html @@ -25,8 +25,7 @@
-
-
+
{{ if (fileExists (printf "assets/%s" (index .Params.images 0))) -}} {{ $mainimage := resources.Get (index .Params.images 0) }}

@@ -35,7 +34,6 @@

{{ .Content }}
-
diff --git a/static/css/custom.css b/static/css/custom.css index 0704723..c7ceeda 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -78,4 +78,27 @@ footer .menu { .blog-article-image { padding-left: 20px; padding-right: 20px; +} + +.blog-single .title { + margin-top: 20px; +} + +/* Min medium */ +@media (min-width: 767px) { + .servicesidebar, .blogsidebar { + border-left: 1px solid #ccc; + } + + .articlecontent, .servicecontent { + padding-left: 20px; + padding-right: 20px; + } +} + +/* Max small */ +@media (max-width: 767px) { + .servicesidebar, .blogsidebar { + margin-top: 30px; + } } \ No newline at end of file diff --git a/themes/lean/layouts/partials/analytics.html b/themes/lean/layouts/partials/analytics.html deleted file mode 100644 index 89fc92b..0000000 --- a/themes/lean/layouts/partials/analytics.html +++ /dev/null @@ -1,15 +0,0 @@ - - - \ No newline at end of file diff --git a/themes/lean/layouts/partials/head.html b/themes/lean/layouts/partials/head.html index 182b95e..147d4a1 100644 --- a/themes/lean/layouts/partials/head.html +++ b/themes/lean/layouts/partials/head.html @@ -27,8 +27,8 @@ {{ hugo.Generator }} - - + + @@ -42,6 +42,4 @@ - - {{ partial "analytics.html" . }} diff --git a/themes/lean/static/css/main.css b/themes/lean/static/css/main.css index 596e1d6..2799cba 100644 --- a/themes/lean/static/css/main.css +++ b/themes/lean/static/css/main.css @@ -339,7 +339,12 @@ body { @media screen and (max-width: 992px) { body { - padding-top: 60px; + padding-top: 80px; + } + + #topnav { + padding-top: 10px; + padding-bottom: 10px; } #responsive-button { @@ -468,9 +473,13 @@ footer { } ul.pagination { + margin-block-start: 0; + margin-block-end: 0; + padding-inline-start: 0; list-style-type: none; display: flex; justify-content: center; + margin-bottom: 40px; } link { diff --git a/website.iml b/website.iml new file mode 100644 index 0000000..49df094 --- /dev/null +++ b/website.iml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file