diff --git a/themes/mmotium/assets/css/_base.scss b/themes/mmotium/assets/css/_base.scss index b977720..ea94f6e 100644 --- a/themes/mmotium/assets/css/_base.scss +++ b/themes/mmotium/assets/css/_base.scss @@ -37,4 +37,6 @@ a:active { pre { max-height: 512px; overflow: auto; + white-space: pre-wrap; + word-wrap: break-word; } \ No newline at end of file diff --git a/themes/mmotium/assets/css/style.scss b/themes/mmotium/assets/css/style.scss index eba2697..d91b525 100644 --- a/themes/mmotium/assets/css/style.scss +++ b/themes/mmotium/assets/css/style.scss @@ -145,11 +145,16 @@ section.posts { } } + .content-column { + width: 100%; + } + .sidebar { & { display: flex; flex-direction: column; min-width: 300px; + width: 300px; gap: 16px; } diff --git a/themes/mmotium/layouts/_default/single.html b/themes/mmotium/layouts/_default/single.html index c82e38f..278ed8c 100644 --- a/themes/mmotium/layouts/_default/single.html +++ b/themes/mmotium/layouts/_default/single.html @@ -11,15 +11,20 @@ {{end}} {{ define "main" }} -
-

{{ .Title }}

+
+
+
+

{{ .Title }}

-

- {{- .Content -}} -

-
+

+ {{- .Content -}} +

+ -
- {{ template "_internal/disqus.html" . }} +
+ {{ template "_internal/disqus.html" . }} +
+ {{ partial "sidebar.html" . }} + {{ end }} \ No newline at end of file diff --git a/themes/mmotium/layouts/categories/taxonomy.html b/themes/mmotium/layouts/categories/taxonomy.html index da0ec8b..b57cb1d 100644 --- a/themes/mmotium/layouts/categories/taxonomy.html +++ b/themes/mmotium/layouts/categories/taxonomy.html @@ -1,20 +1,21 @@ {{ define "main" }} +
+
+
+
+

Категория - {{ .Title }}

+

{{ .Params.description }}

+
+

Тут есть:

-
-
-

Категория - {{ .Title }}

-

{{ .Params.description }}

-
- -

Тут есть:

- - + +
+
+ {{ partial "sidebar.html" . }}
- - {{ end }} \ No newline at end of file