diff --git a/unified.test.hugo/assets/styles/common/elements.scss b/unified.test.hugo/assets/styles/common/elements.scss index 12c8b3a..81b41cc 100644 --- a/unified.test.hugo/assets/styles/common/elements.scss +++ b/unified.test.hugo/assets/styles/common/elements.scss @@ -63,4 +63,8 @@ code { /* fix pre */ pre { margin: 0; +} +/* limit img to page width */ +img { + max-width: 100%; } \ No newline at end of file diff --git a/unified.test.hugo/assets/styles/layouts/_default/single.scss b/unified.test.hugo/assets/styles/layouts/_default/single.scss index 4080e24..eebf8c6 100644 --- a/unified.test.hugo/assets/styles/layouts/_default/single.scss +++ b/unified.test.hugo/assets/styles/layouts/_default/single.scss @@ -57,6 +57,7 @@ .page-date { grid-area: date; margin-block-end: 0; + .date {display: inline-block;} } .page-inreplyto { display: grid; diff --git a/unified.test.hugo/layouts/_default/single.html b/unified.test.hugo/layouts/_default/single.html index 913b64c..3deb479 100644 --- a/unified.test.hugo/layouts/_default/single.html +++ b/unified.test.hugo/layouts/_default/single.html @@ -19,7 +19,7 @@ {{- end }} {{- with .Date }}

- +Published

{{- end }} {{- with .Params.inReplyTo }}