mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
🚚 Feat: migrate fixit.svg to images/
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
bottom: .75rem;
|
||||
left: 0;
|
||||
right: 0;
|
||||
background-image: url("/svg/fixit.svg");
|
||||
background-image: url("/images/fixit.svg");
|
||||
background-repeat: no-repeat;
|
||||
filter: blur(.15rem);
|
||||
opacity: 0.5;
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |
@@ -469,7 +469,7 @@ enableEmoji = true
|
||||
[languages.zh-cn.params.watermark]
|
||||
enable = true
|
||||
# 水印内容 (允许 HTML 格式)
|
||||
content = '<img class="fixit-icon" src="/svg/fixit.svg" alt="FixIt logo" /> FixIt 主题'
|
||||
content = '<img class="fixit-icon" src="/images/fixit.svg" alt="FixIt logo" /> FixIt 主题'
|
||||
# 水印透明度
|
||||
opacity = 0.02
|
||||
# 单水印高度 单位:px
|
||||
@@ -512,7 +512,7 @@ enableEmoji = true
|
||||
[params.header.title]
|
||||
# URL of the LOGO
|
||||
# LOGO 的 URL
|
||||
logo = "/svg/fixit.svg"
|
||||
logo = "/images/fixit.svg"
|
||||
# title name
|
||||
# 标题名称
|
||||
name = "FixIt"
|
||||
@@ -873,7 +873,7 @@ enableEmoji = true
|
||||
enable = true
|
||||
# watermark's text (HTML format is supported)
|
||||
# 水印内容 (允许 HTML 格式)
|
||||
content = '<img class="fixit-icon" src="/svg/fixit.svg" alt="FixIt logo" /> FixIt Theme'
|
||||
content = '<img class="fixit-icon" src="/images/fixit.svg" alt="FixIt logo" /> FixIt Theme'
|
||||
# watermark's transparency
|
||||
# 水印透明度
|
||||
opacity = 0.02
|
||||
|
||||
@@ -18,7 +18,7 @@ math:
|
||||
[](https://github.com/Lruihao/FixIt/fork)
|
||||
{{< /style >}}
|
||||
|
||||
> [<img class="fixit-icon" src="/svg/fixit.svg" alt="FixIt logo" /> FixIt](https://github.com/Lruihao/FixIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Lruihao](https://lruihao.cn).
|
||||
> [<img class="fixit-icon" src="/images/fixit.svg" alt="FixIt logo" /> FixIt](https://github.com/Lruihao/FixIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Lruihao](https://lruihao.cn).
|
||||
>
|
||||
> It is based on the original [LoveIt Theme](https://github.com/dillonzq/LoveIt), [LeaveIt Theme](https://github.com/liuzc/LeaveIt) and [KeepIt Theme](https://github.com/Fastbyte01/KeepIt).
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ math:
|
||||
[](https://github.com/Lruihao/FixIt/fork)
|
||||
{{< /style >}}
|
||||
|
||||
> [<img class="fixit-icon" src="/svg/fixit.svg" alt="FixIt logo" /> FixIt](https://github.com/Lruihao/FixIt) 是一个由 [Lruihao](https://lruihao.cn) 开发的**简洁**、**优雅**且**高效**的 [Hugo](https://gohugo.io/) 博客主题。
|
||||
> [<img class="fixit-icon" src="/images/fixit.svg" alt="FixIt logo" /> FixIt](https://github.com/Lruihao/FixIt) 是一个由 [Lruihao](https://lruihao.cn) 开发的**简洁**、**优雅**且**高效**的 [Hugo](https://gohugo.io/) 博客主题。
|
||||
>
|
||||
> 它的原型基于 [LoveIt 主题](https://github.com/dillonzq/LoveIt),[LeaveIt 主题](https://github.com/liuzc/LeaveIt) 和 [KeepIt 主题](https://github.com/Fastbyte01/KeepIt)。
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{{- if ne .Site.Params.footer.hugo false -}}
|
||||
<div class="footer-line powered">
|
||||
{{- $hugo := printf `<a href="https://gohugo.io/" target="_blank" rel="external nofollow noopener noreffer" title="Hugo %v">Hugo</a>` hugo.Version -}}
|
||||
{{- $theme := .Scratch.Get "version" | printf `<a href="https://github.com/Lruihao/FixIt" target="_blank" rel="external nofollow noopener noreffer" title="FixIt %v"><img class="fixit-icon" src="/svg/fixit.svg" alt="FixIt logo" /> FixIt</a>` -}}
|
||||
{{- $theme := .Scratch.Get "version" | printf `<a href="https://github.com/Lruihao/FixIt" target="_blank" rel="external nofollow noopener noreffer" title="FixIt %v"><img class="fixit-icon" src="/images/fixit.svg" alt="FixIt logo" /> FixIt</a>` -}}
|
||||
{{- dict "Hugo" $hugo "Theme" $theme | T "poweredBySome" | safeHTML }}
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
+1
-1
@@ -825,7 +825,7 @@ class Theme {
|
||||
new Watermark({
|
||||
content:
|
||||
this.config.watermark.content ||
|
||||
'<img class="fixit-icon" src="/svg/fixit.svg" alt="FixIt logo" /> FixIt Theme',
|
||||
'<img class="fixit-icon" src="/images/fixit.svg" alt="FixIt logo" /> FixIt Theme',
|
||||
appendTo: this.config.watermark.appendto || '.wrapper>main',
|
||||
opacity: this.config.watermark.opacity,
|
||||
width: this.config.watermark.width,
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" version="1.1"><defs><style>.fixit-ban{opacity:.9;}</style></defs><path d="M159.12 338.69l24.8-16.54a78.87 78.87 0 0 1-6.77-22.72l-30.88 4.41a16 16 0 0 1-4.54-31.68l34.27-4.9v-.76l98.94 98.95a76.89 76.89 0 0 1-71.68-17.73l-26.39 17.59c-.15.11-.31.21-.47.31a16 16 0 0 1-17.28-26.93zm224.72-48.42a16 16 0 0 0-13.57-18.11l-34.27-4.9V244.9l34.27-4.9a16 16 0 1 0-4.54-31.68l-30.54 4.36a79.31 79.31 0 0 0-6.85-22.85l24.54-16.36a16 16 0 1 0-17.29-26.93l-.46.31-26 17.34a79.9 79.9 0 0 0-102.64-3l139.83 139.88 19.41 2.77a16 16 0 0 0 18.11-13.57z" fill="#358C3C" class="fixit-bug"/><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 432c-101.46 0-184-82.54-184-184a182.84 182.84 0 0 1 33.38-105.37l256 256A182.86 182.86 0 0 1 256 440zm150.62-78.63l-256-256A182.84 182.84 0 0 1 256 72c101.46 0 184 82.54 184 184a182.84 182.84 0 0 1-33.38 105.37z" fill="#FF6347" class="fixit-ban"/></svg>
|
||||
|
After Width: | Height: | Size: 968 B |
Reference in New Issue
Block a user