File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # TODO
2+
3+ ## Favicon
4+
5+ - Prepare ` favicon-32x32.png ` and ` favicon-16x16.png `
6+ - Place them in ` static/img/ `
7+
8+ ## OG Image
9+
10+ - Prepare an OG image (recommended size: 1200×630px)
11+ - Place it in ` static/ `
12+ - Add to ` templates/_head_extend.html ` :
13+ ``` html
14+ <meta property =" og:image" content =" {{ get_url(path='YOUR_IMAGE.png') }}" >
15+ <meta name =" twitter:image" content =" {{ get_url(path='YOUR_IMAGE.png') }}" >
16+ ```
Original file line number Diff line number Diff line change 291291 }
292292 }
293293</ style >
294+
295+ < meta property ="og:title " content ="{% if page.title %}{{ page.title }} | {{ config.title }}{% elif section.title %}{{ section.title }} | {{ config.title }}{% else %}{{ config.title }}{% endif %} ">
296+ < meta property ="og:description " content ="{{ page.description | default(value=section.description | default(value=config.description)) }} ">
297+ < meta property ="og:url " content ="{{ current_url | default(value=config.base_url) }} ">
298+ < meta property ="og:type " content ="{% if page %}article{% else %}website{% endif %} ">
299+ < meta property ="og:site_name " content ="{{ config.title }} ">
300+ < meta name ="twitter:card " content ="summary ">
301+ < meta name ="twitter:title " content ="{% if page.title %}{{ page.title }} | {{ config.title }}{% elif section.title %}{{ section.title }} | {{ config.title }}{% else %}{{ config.title }}{% endif %} ">
302+ < meta name ="twitter:description " content ="{{ page.description | default(value=section.description | default(value=config.description)) }} ">
You can’t perform that action at this time.
0 commit comments