mirror of
https://github.com/olivierlacan/keep-a-changelog.git
synced 2025-07-30 09:14:12 +02:00
Merge pull request #160 from kewang/feature/favicon
Add favicon & og:image
This commit is contained in:
commit
1291a20db2
BIN
source/assets/images/favicon.ico
Normal file
BIN
source/assets/images/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 126 KiB |
BIN
source/assets/images/logo.png
Normal file
BIN
source/assets/images/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
1
source/assets/images/logo.svg
Normal file
1
source/assets/images/logo.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 5.9 KiB |
@ -20,10 +20,12 @@
|
||||
%meta{ property: 'og:type', content: 'article' }
|
||||
%meta{ property: 'og:url', content: path_to_url(current_page.url) }
|
||||
%meta{ property: 'og:description', content: current_page.data.description }
|
||||
%meta{ property: 'og:image', content: image_path("logo.png") }
|
||||
= yield_content :og
|
||||
|
||||
-# Icons
|
||||
|
||||
%link{ rel: "shortcut icon", type: "image/x-icon", href: image_path("favicon.ico") }
|
||||
%link{ rel: 'canonical', href: path_to_url(current_page.url) }
|
||||
|
||||
%title= current_page.data.title
|
||||
|
Loading…
x
Reference in New Issue
Block a user