mirror of
https://github.com/status-im/EIPs.git
synced 2025-01-11 23:34:33 +00:00
8350c1f498
* Add Matomo tracking * Add development instructions to README * Add dynamic metadata for EIP pages * Escape title strings * Remove Matomo * Use variables from _config.yaml in head.html * Omit Jekyll version from header * Also use twitter_username from _config.yml
46 lines
1.9 KiB
HTML
46 lines
1.9 KiB
HTML
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
{% if page.layout == "eip" %}
|
|
<title>EIP {{ page.eip }}: {{ page.title | escape }}</title>
|
|
<meta property="og:title" content="EIP {{ page.eip }}: {{ page.title | escape }}" />
|
|
<meta
|
|
name="description"
|
|
content="Details on Ethereum Improvement Proposal {{page.eip}} (EIP {{page.eip}}): {{page.title | escape}}"
|
|
/>
|
|
<meta
|
|
property="og:description"
|
|
content="Details on Ethereum Improvement Proposal {{page.eip}} (EIP {{page.eip}}): {{page.title | escape}}"
|
|
/>
|
|
<meta name="twitter:description" content="Details on Ethereum Improvement Proposal {{page.eip}} (EIP {{page.eip}}): {{page.title | escape}}" />
|
|
{% else %}
|
|
<title>{{ page.title | escape }} | {{site.title}}</title>
|
|
<meta
|
|
property="og:title"
|
|
content="{{ page.title | escape }} | {{site.title}}"
|
|
/>
|
|
<meta name="description" content="{{site.description}}" />
|
|
<meta property="og:description" content="{{site.description}}" />
|
|
<meta name="twitter:description" content="{{site.description}}" />
|
|
{% endif %}
|
|
<meta name="generator" content="Jekyll" />
|
|
<meta property="og:locale" content="en_US" />
|
|
<link rel="canonical" href="{{site.url}}{{page.url}}" />
|
|
<meta property="og:url" content="{{site.url}}{{page.url}}" />
|
|
<meta property="og:site_name" content="{{site.title}}" />
|
|
<meta name="twitter:card" content="summary" />
|
|
<meta name="twitter:site" content="@{{site.twitter_username}}" />
|
|
<script type="application/ld+json">
|
|
{
|
|
"@type": "WebSite",
|
|
"url": "{{site.url}}",
|
|
"name": "{{site.title}}",
|
|
"description": "{{site.description}}",
|
|
"@context": "https://schema.org"
|
|
}
|
|
</script>
|
|
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}" />
|
|
{%- feed_meta -%}
|
|
</head>
|