Add open graph tags (#140)
Added Open Graph support
| | |
| | | - Katex support (optional) |
| | | - Formspree Contact Form (optional) |
| | | - Twitter Cards support |
| | | - Open Graph support |
| | | - MIT License |
| | | - Fontawesome 5.15.1 icons |
| | | - Custom CSS (optional) |
| | |
| | | ```toml |
| | | images = ["post-cover.png"] |
| | | ``` |
| | | ### Open Graph Support |
| | | |
| | | The [internal template for Open Graph protocol](https://gohugo.io/templates/internal/#open-graph) uses a mix of configuration variables; settings in `config.toml` and frontmatter of the page. |
| | | |
| | | ### Post Thumbnails |
| | | Thumbnails can be enabled easily by setting the `thumbnail` parameter in the frontmatter of a post to an image such as `"images/landscape.jpg"`. |
| | |
| | | |
| | | <!-- Twitter Cards --> |
| | | {{ template "_internal/twitter_cards.html" . }} |
| | | |
| | | <!-- Open Graph --> |
| | | {{ template "_internal/opengraph.html" . }} |
| | | </head> |