mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added monochrome logo to icons
This commit is contained in:
parent
9c73460e2c
commit
88470b38cd
@ -2029,6 +2029,7 @@
|
||||
"fontawesome/solid/yen-sign",
|
||||
"fontawesome/solid/yin-yang",
|
||||
"fontawesome/solid/z",
|
||||
"logo-monochrome",
|
||||
"logo",
|
||||
"material/ab-testing",
|
||||
"material/abacus",
|
||||
|
File diff suppressed because one or more lines are too long
@ -618,7 +618,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
|
||||
# Copy file to temporary directory
|
||||
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):
|
||||
yield View(None, file, config)
|
||||
|
||||
|
3
material/templates/.icons/logo-monochrome.svg
Normal file
3
material/templates/.icons/logo-monochrome.svg
Normal 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 |
@ -618,7 +618,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
|
||||
# Copy file to temporary directory
|
||||
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):
|
||||
yield View(None, file, config)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user