Added monochrome logo to icons

This commit is contained in:
squidfunk 2023-11-14 09:37:59 +01:00
parent 9c73460e2c
commit 88470b38cd
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
5 changed files with 7 additions and 3 deletions

View File

@ -2029,6 +2029,7 @@
"fontawesome/solid/yen-sign", "fontawesome/solid/yen-sign",
"fontawesome/solid/yin-yang", "fontawesome/solid/yin-yang",
"fontawesome/solid/z", "fontawesome/solid/z",
"logo-monochrome",
"logo", "logo",
"material/ab-testing", "material/ab-testing",
"material/abacus", "material/abacus",

File diff suppressed because one or more lines are too long

View File

@ -618,7 +618,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
# Copy file to temporary directory # Copy file to temporary directory
copy_file(view.file.abs_src_path, file.abs_src_path) copy_file(view.file.abs_src_path, file.abs_src_path)
# Create view and attach to previous page # Create and yield view
if not isinstance(file.page, View): if not isinstance(file.page, View):
yield View(None, file, config) yield View(None, file, config)

View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M17.029 18.772l.777 1.166-5.417 2.709L0 16.451V4.063l5.417-2.709 5.298 7.948 7.867-5.24L24 1.354V16.84l-5.417 2.709-1.554-.777zm2.023-13.827v13.253l3.949-1.975V2.97l-3.949 1.975zM5.076 2.642L1.458 4.45 12.73 21.358l3.618-1.809L5.076 2.642z" />
</svg>

After

Width:  |  Height:  |  Size: 323 B

View File

@ -618,7 +618,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
# Copy file to temporary directory # Copy file to temporary directory
copy_file(view.file.abs_src_path, file.abs_src_path) copy_file(view.file.abs_src_path, file.abs_src_path)
# Create view and attach to previous page # Create and yield view
if not isinstance(file.page, View): if not isinstance(file.page, View):
yield View(None, file, config) yield View(None, file, config)