2019-02-15 17:56:56 +03:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html style="height: 100%">
|
|
|
|
|
<head>
|
|
|
|
|
<title>{{ config.title }}</title>
|
|
|
|
|
<link rel="stylesheet" href="/dist/main.css" />
|
Added ability to use custom favicon (#202)
* Added ability to change favicon in config
* Turned back version of icon in index.twig
* Added opportunity to upload favicon and route to get saved favicon
* Removed favicon from .codexdocsrc.sample
* Added docs to favicon route
* Replaced uploadFavicon to initiating /favicon route, updated function, added catching errors from uploadFile
* Updated Readme, added info about setting up app
* Updated Readme.md
* Some changes
* Favicon data saves to app.locals, replaced uploading favicon to app.ts
* Changed naming in config, from faviconURL to favicon, changed using app.locals variables
* Renamed uploadFavicon to downLoadFavicon, removed log in locals.ts
* Renamed favicon variable in app.ts
* Added checking favicon before uploading function, removed passing locals to views
* Added timeout for uploading favicon request and writeFileSync changed to writeFile
* Removed passing favicon locals and turned back removed variables
* Turned back variables
* Fixed duplicating os.tmpdir
* Fixed braces in objects, added new lines
* Added default favicon path, if favicon does not exists in config
* Updated docs, fixed using local favicon
2022-07-10 15:21:32 +03:00
|
|
|
|
<link rel="icon" type="{{ favicon.type }}" href="{{ favicon.destination }}">
|
2019-04-02 15:45:38 +03:00
|
|
|
|
<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 }}">
|
2019-02-15 17:56:56 +03:00
|
|
|
|
</head>
|
Added ability to use custom favicon (#202)
* Added ability to change favicon in config
* Turned back version of icon in index.twig
* Added opportunity to upload favicon and route to get saved favicon
* Removed favicon from .codexdocsrc.sample
* Added docs to favicon route
* Replaced uploadFavicon to initiating /favicon route, updated function, added catching errors from uploadFile
* Updated Readme, added info about setting up app
* Updated Readme.md
* Some changes
* Favicon data saves to app.locals, replaced uploading favicon to app.ts
* Changed naming in config, from faviconURL to favicon, changed using app.locals variables
* Renamed uploadFavicon to downLoadFavicon, removed log in locals.ts
* Renamed favicon variable in app.ts
* Added checking favicon before uploading function, removed passing locals to views
* Added timeout for uploading favicon request and writeFileSync changed to writeFile
* Removed passing favicon locals and turned back removed variables
* Turned back variables
* Fixed duplicating os.tmpdir
* Fixed braces in objects, added new lines
* Added default favicon path, if favicon does not exists in config
* Updated docs, fixed using local favicon
2022-07-10 15:21:32 +03:00
|
|
|
|
<script>
|
|
|
|
|
</script>
|
2022-09-12 20:11:44 +03:00
|
|
|
|
<body class="greeting-body">
|
2019-02-15 17:56:56 +03:00
|
|
|
|
{% include "components/header.twig" %}
|
2022-09-12 20:11:44 +03:00
|
|
|
|
<div class="greeting-content">
|
|
|
|
|
{{ svg('frog') }}
|
|
|
|
|
<p class="greeting-content__message">
|
|
|
|
|
It’s time to create the first page!
|
|
|
|
|
</p>
|
|
|
|
|
{% include 'components/button.twig' with {label: 'Add page', icon: 'plus', size: 'small', url: '/page/new'} %}
|
2019-02-15 17:56:56 +03:00
|
|
|
|
</div>
|
2019-04-02 09:47:16 +03:00
|
|
|
|
{% if config.yandexMetrikaId is not empty %}
|
|
|
|
|
<script type="text/javascript" >
|
|
|
|
|
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
|
|
|
|
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
|
|
|
|
|
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
|
|
|
|
|
|
|
|
|
|
ym({{ config.yandexMetrikaId }}, "init", {
|
|
|
|
|
clickmap:true,
|
|
|
|
|
trackLinks:true,
|
|
|
|
|
accurateTrackBounce:true
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<noscript><div><img src="https://mc.yandex.ru/watch/{{ config.yandexMetrikaId }}" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
|
|
|
|
{% endif %}
|
2019-02-15 17:56:56 +03:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|