Skip to content

Commit 8064ca5

Browse files
authoredJul 7, 2017
fix layout
fix layout
1 parent 1c85d11 commit 8064ca5

File tree

1 file changed

+57
-4
lines changed

1 file changed

+57
-4
lines changed
 

‎_layouts/default.html

Lines changed: 57 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,61 @@
11
<!DOCTYPE html>
22
<html lang="{{ site.lang | default: "ru-RU" }}">
33
<head>
4-
<title>PHP Compiler CMF - Content Management Framework | Документация</title>
5-
</head>
6-
<body>
7-
</body>
4+
<meta charset='utf-8'>
5+
<meta http-equiv="X-UA-Compatible" content="chrome=1">
6+
<meta name="viewport" content="width=device-width,maximum-scale=2">
7+
<meta name="description" content="{{ site.title | default: site.github.repository_name }} : {{ site.description | default: site.github.project_tagline }}">
8+
9+
<link rel="stylesheet" type="text/css" media="screen" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
10+
11+
<title>PHP Compiler CMF - Content Management Framework | Документация</title>
12+
</head>
13+
14+
<body>
15+
16+
<!-- HEADER -->
17+
<div id="header_wrap" class="outer">
18+
<header class="inner">
19+
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>
20+
21+
<h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1>
22+
<h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2>
23+
24+
{% if site.show_downloads %}
25+
<section id="downloads">
26+
<a class="zip_download_link" href="{{ site.github.zip_url }}">Download this project as a .zip file</a>
27+
<a class="tar_download_link" href="{{ site.github.tar_url }}">Download this project as a tar.gz file</a>
28+
</section>
29+
{% endif %}
30+
</header>
31+
</div>
32+
33+
<!-- MAIN CONTENT -->
34+
<div id="main_content_wrap" class="outer">
35+
<section id="main_content" class="inner">
36+
{{ content }}
37+
</section>
38+
</div>
39+
40+
<!-- FOOTER -->
41+
<div id="footer_wrap" class="outer">
42+
<footer class="inner">
43+
{% if site.github.is_project_page %}
44+
<p class="copyright">{{ site.title | default: site.github.repository_name }} maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
45+
{% endif %}
46+
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
47+
</footer>
48+
</div>
49+
50+
{% if site.google_analytics %}
51+
<script type="text/javascript">
52+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
53+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
54+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
55+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
56+
ga('create', '{{ site.google_analytics }}', 'auto');
57+
ga('send', 'pageview');
58+
</script>
59+
{% endif %}
60+
</body>
861
</html>

0 commit comments

Comments
 (0)