Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thegeeklab/hugo-geekblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Kaussow <mail@geeklabor.de>2022-01-13 00:50:20 +0300
committerGitHub <noreply@github.com>2022-01-13 00:50:20 +0300
commit6c769422d90c9a6b0f2ec0ab3f7fe98c1b552e19 (patch)
treecbb735feaf13ec0bc57e201dfd690a434f54d10e
parenteba742cf0373d4580f92ac27de671b3cf4859080 (diff)
BREAKING CHANGE: rename icon `bookmarks` to `bookmark` (#153)v0.15.0
-rw-r--r--layouts/partials/metadata.html2
-rw-r--r--src/icons/bookmark.svg (renamed from src/icons/bookmarks.svg)2
-rw-r--r--src/sass/_base.scss20
3 files changed, 12 insertions, 12 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
index c04fa35..fa1b01f 100644
--- a/layouts/partials/metadata.html
+++ b/layouts/partials/metadata.html
@@ -47,7 +47,7 @@
{{ with $.Site.GetPage (printf "/tags/%s" $name | urlize) }}
{{ if eq $tc 0 }}
<span class="no-wrap">
- <svg class="icon gblog_bookmarks"><use xlink:href="#gblog_bookmarks"></use></svg>
+ <svg class="icon gblog_bookmark"><use xlink:href="#gblog_bookmark"></use></svg>
{{ template "post-tag" dict "name" $name "page" . }}
</span>
{{ else }}
diff --git a/src/icons/bookmarks.svg b/src/icons/bookmark.svg
index 33a7ab1..9f9f313 100644
--- a/src/icons/bookmarks.svg
+++ b/src/icons/bookmark.svg
@@ -1,5 +1,5 @@
<!-- Generated by IcoMoon.io -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
-<title>bookmarks</title>
+<title>bookmark</title>
<path d="M20.357 5.856q1.157 0 2.043 0.851t0.885 2.008v23.284l-10.212-4.357-10.144 4.357v-23.284q0-1.157 0.885-2.008t2.042-0.851h14.502zM26.144 24.715v-18.859q0-1.157-0.851-2.042t-2.008-0.885h-14.57q0-1.157 0.885-2.042t2.043-0.885h14.502q1.157 0 2.043 0.885t0.885 2.042v23.216z"></path>
</svg>
diff --git a/src/sass/_base.scss b/src/sass/_base.scss
index 11228aa..f3426e6 100644
--- a/src/sass/_base.scss
+++ b/src/sass/_base.scss
@@ -408,6 +408,16 @@ img {
}
}
+ &__footer {
+ :not(:first-child).no-wrap {
+ margin-left: $padding-8;
+ }
+
+ .icon {
+ font-size: 1.2em;
+ }
+ }
+
&__figure {
padding: $padding-4;
margin: $padding-16 0;
@@ -432,16 +442,6 @@ img {
}
}
- &__footer {
- :not(:first-child).no-wrap {
- margin-left: $padding-8;
- }
-
- .icon {
- font-size: 1.2em;
- }
- }
-
&__codecontainer {
position: relative;