aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorSergey Nazaryev <sergey@nazaryev.ru>2020-07-20 01:42:09 +0300
committerSergey Nazaryev <sergey@nazaryev.ru>2020-07-20 01:42:09 +0300
commit9637e97f1cfb0abcb243215c01bc745e4fc6c5ca (patch)
treefca8f2402d0ca5fa049abac7c6e6cf77f946b846 /_layouts
parent585a141866bafe5dbb41208abf8f24b91e7e1154 (diff)
downloadportfolio-master.zip
portfolio-master.tar.gz
portfolio-master.tar.bz2
Update to the latest versionHEADmaster
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html15
-rw-r--r--_layouts/projects.html145
2 files changed, 92 insertions, 68 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index fb2c1d9..1988d5a 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -4,19 +4,28 @@
<meta charset="utf-8" />
<title>{% if page.title %}{{ page.title | escape }} ≡ {% endif %}{{ site.name }}</title>
- <meta name="description" content="{{ description }}" />
+ <meta name="description" content="{{ page.description }}" />
<link rel="stylesheet" href="{{ "/assets/style.css" | relative_url }}">
+ <link rel="stylesheet" href="{{ "/assets/syntax.css" | relative_url }}">
<link href="{{ "/assets/favicon.ico" | relative_url }}" rel="shortcut icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
+ <div class="wrapper">
<div class="page">
{% include nav.html %}
{{ content }}
</div>
- <div class="clear"></div>
- <script type="text/javascript" src={{ "/assets/age.js" | relative_url }}></script>
+ <footer>
+ <iframe src="//nazaryev.ru/assets/game/game.html" id="game" class="game"></iframe>
+ <script>
+ document.querySelector("#game").onload = function() {
+ this.contentWindow.focus();
+ }
+ </script>
+ </footer>
+ </div>
</body>
</html>
diff --git a/_layouts/projects.html b/_layouts/projects.html
index 909cb93..353aa82 100644
--- a/_layouts/projects.html
+++ b/_layouts/projects.html
@@ -1,72 +1,87 @@
----
-layout: default
----
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8" />
-<main>
- <div class="products">
- <div class="products-inner">
- {% for product in site.products %}
- <section class="products__item">
- <div class="product-photo">
- <img src="{{ screenshot }}" />
- <div class="product-tags">
- {% for tag in product.tags %}
- <span class="product-tag">{{ tag }}</span>
- {% endfor %}
- </div>
- </div>
- <div class="product-info">
- <div class="product-header">
- <img class="product-icon" src="{{ product.icon }}" />
- <span class="product-title">{{ product.title }}</span>
- </div>
- <div class="product-description">{{ product.description }}</div>
- <div class="product-link">
- {% if product.url == "unknown" %}
- <a target="_blank" class="product-link-passive">Недоступно</a>
- {% else %}
- <a href="{{ product.url }}" target="_blank" class="product-link-active">Перейти на сайт</a>
- {% endif %}
+ <title>{% if page.title %}{{ page.title | escape }} ≡ {% endif %}{{ site.name }}</title>
+ <meta name="description" content="{{ page.description }}" />
+
+ <link rel="stylesheet" href="{{ "/assets/style.css" | relative_url }}">
+ <link rel="stylesheet" href="{{ "/assets/syntax.css" | relative_url }}">
+ <link href="{{ "/assets/favicon.ico" | relative_url }}" rel="shortcut icon" type="image/x-icon" />
+
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ </head>
+ <body>
+ <div class="wrapper">
+ <div class="page">
+ {% include nav.html %}
+ <main>
+ <div class="products">
+ <div class="products-inner">
+ {% for product in site.products %}
+ <section class="products__item">
+ <div class="product-info">
+ <div class="product-header">
+ <img class="product-icon" src="{{ product.icon }}" />
+ <span class="product-title">{{ product.title }}</span>
+ </div>
+ <div class="product-description">{{ product.description }}</div>
+ <div class="product-link">
+ {% if product.url == "unknown" %}
+ <a target="_blank" class="product-link-passive">Недоступно</a>
+ {% else %}
+ <a href="{{ product.url }}" target="_blank" class="product-link-active">Перейти на сайт</a>
+ {% endif %}
+ </div>
+ <div class="product-tags">
+ {% for tag in product.tags %}
+ <span class="product-tag">{{ tag }}</span>
+ {% endfor %}
+ </div>
+ <div class="clear"></div>
+ </div>
+ </section>
+ {% endfor %}
</div>
</div>
- </section>
- {% endfor %}
- <div class="clear"></div>
+ <div class="clear"></div>
+ </main>
</div>
- </div>
- <div class="clear"></div>
-</main>
-<footer>
- <div class="information">
- <div class="additional">
- <h2>
- А также…
- </h2>
- <ul class="left">
- <li>несколько сервисов:
- <ul>
- {% for service in site.services %}
- <li><a class="product-link-active" target="_blank" href="{{ service.url }}">{{ service.title }}</a></li>
- {% endfor %}
+ <footer style="padding-top: 0px;">
+ <div class="information">
+ <div class="additional">
+ <h2>
+ А также…
+ </h2>
+ <ul class="left">
+ <li>несколько сервисов:
+ <ul>
+ {% for service in site.services %}
+ <li><a class="product-link-active" target="_blank" href="{{ service.url }}">{{ service.title }}</a></li>
+ {% endfor %}
+ </ul>
+ </li>
</ul>
- </li>
- </ul>
- <ul class="right">
- <li>множество мелких и/или неопубликованных сайтов:
- <ul>
- {% for item in site.sites %}
- <li><a class="product-link-active" target="_blank" href="{{ item.url }}">{{ item.title }}</a></li>
- {% endfor %}
+ <ul class="right">
+ <li>множество мелких и/или неопубликованных сайтов:
+ <ul>
+ {% for item in site.sites %}
+ <li><a class="product-link-active" target="_blank" href="{{ item.url }}">{{ item.title }}</a></li>
+ {% endfor %}
+ </ul>
+ </li>
</ul>
- </li>
- </ul>
- <div class="clear"></div>
+ <div class="clear"></div>
+ </div>
+ </div>
+ <iframe src="//nazaryev.ru/assets/game/game.html" id="game" class="game"></iframe>
+ <script>
+ document.querySelector("#game").onload = function() {
+ this.contentWindow.focus();
+ }
+ </script>
+ </footer>
</div>
- </div>
- <iframe src="http://game.nazaryev.ru/game.html" id="game" class="game"></iframe>
- <script>
- document.querySelector("#game").onload = function() {
- this.contentWindow.focus();
- }
- </script>
-</footer>
+ </body>
+</html>