feat: rename author variable name
| | |
| | | |
| | | ### Add metadata |
| | | |
| | | `name` and `description` metadata helps search engines with how to display your site in search results. `shareImage` and `twitterHandle` help improves how your content is displayed when your site is shared across social media sites. |
| | | `author` and `description` metadata helps search engines with how to display your site in search results. `shareImage` and `twitterHandle` help improves how your content is displayed when your site is shared across social media sites. |
| | | |
| | | ```toml |
| | | name = "Jenny Jones" |
| | | author = "Jenny Jones" |
| | | description = "Split is a centrally-divided layout for a professional online presence with a big image or video left with alongside content." |
| | | shareImage = "images/social.jpg" |
| | | twitterHandle = "onepagelove" |
| | |
| | | [params] |
| | | |
| | | # Metadata for search engines and social sharing |
| | | name = "Jenny Jones" |
| | | author = "Jenny Jones" |
| | | description = "Split is a centrally-divided layout for a professional online presence with a big image or video left with alongside content." |
| | | shareImage = "images/social.jpg" |
| | | twitterHandle = "onepagelove" |
| | |
| | | |
| | | <!-- SEO --> |
| | | <title>{{ .Title }}</title> |
| | | {{ with .Site.Params.name }}<meta name="author" content="{{ . }}" />{{ end }} |
| | | {{ with .Site.Params.author }}<meta name="author" content="{{ . }}" />{{ end }} |
| | | {{ with .Site.Params.description }}<meta name="description" content="{{ . }}" />{{ end }} |
| | | <meta name="robots" content="index, follow" /> |
| | | <meta name="referrer" content="always" /> |