diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 46d1b1d..3cd9f54 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -20,6 +20,15 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version == Unreleased +=== Updated + +* Update class names of several components. + +** `.icon` has been updated to `.site__icon`. +** `.list` has been updated to `.site__list`. + + + == [0.6.0] - 2023-03-16 diff --git a/assets/scss/layout.scss b/assets/scss/layout.scss index e60297d..edc45fe 100644 --- a/assets/scss/layout.scss +++ b/assets/scss/layout.scss @@ -18,13 +18,13 @@ footer[aria-label="Site footer"] { } } -.icon { +.site__icon { height: 1rem; width: 1rem; fill: currentColor; } -.list { +.site__list { display: inline-flex; align-items: baseline; flex-flow: row wrap; diff --git a/layouts/partials/components.html b/layouts/partials/components.html index 1d824cc..1e228ce 100644 --- a/layouts/partials/components.html +++ b/layouts/partials/components.html @@ -19,7 +19,7 @@ {{- define "partials/components/icon.html" }} {{- $icon := . }} {{- $res := resources.ExecuteAsTemplate (printf $icon.output $icon.id) $icon.id (resources.Get $icon.template) }} - + {{- end }} diff --git a/layouts/partials/components/post-meta.html b/layouts/partials/components/post-meta.html index 7791a2a..4d99fcf 100644 --- a/layouts/partials/components/post-meta.html +++ b/layouts/partials/components/post-meta.html @@ -3,7 +3,7 @@ */ -}} {{- if or .PublishDate .Lastmod }} {{- $RFC3339 := "2006-01-02T15:04:05Z07:00" }} -