1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-19 13:19:42 +02:00

add meta description (#88)

* add meta description

* remove duplicated string
This commit is contained in:
Murod Khaydarov 2019-04-02 15:45:38 +03:00 committed by GitHub
parent 614b4d8792
commit d13665c0a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,6 @@
{ {
"title": "CodeX Docs", "title": "CodeX Docs",
"description": "A block-styled editor with clean JSON output",
"menu": [ "menu": [
"Guides", "Guides",
"API", "API",

View file

@ -4,8 +4,11 @@
<title>{{ config.title }}</title> <title>{{ config.title }}</title>
<link rel="stylesheet" href="/dist/main.css" /> <link rel="stylesheet" href="/dist/main.css" />
<link rel="preload" href="{{ config.landingFrameSrc }}" as="document"> <link rel="preload" href="{{ config.landingFrameSrc }}" as="document">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="icon" type="image/png" href="/favicon.png?v=2"> <link rel="icon" type="image/png" href="/favicon.png?v=2">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta property="og:title" content="{{ config.title }}" />
<meta property="og:site_name" content="{{ config.title }}" />
<meta name="description" property="og:description" content="{{ config.description }}">
</head> </head>
<body class="landing-body"> <body class="landing-body">
{% include "components/header.twig" %} {% include "components/header.twig" %}