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/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..3688095 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/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