Skip to content

Commit

Permalink
commit...
Browse files Browse the repository at this point in the history
  • Loading branch information
soprun committed Nov 25, 2023
1 parent ccdb321 commit 95f5dad
Show file tree
Hide file tree
Showing 17 changed files with 130 additions and 255 deletions.
21 changes: 12 additions & 9 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
---
layout: default
title: Page not found! 😨
layout: page
title: Страница не найдена! 😨
noindex: true
---
<meta http-equiv="refresh" content="3;url={{ site.url | absolute_url }}" />
<meta name="robots" content="noindex, nofollow"/>
<meta http-equiv="refresh" content="3;url={{ site.url | absolute_url }}"/>

## 404 - Page not found! 😨
<h2>404 - Page not found! 😨</h2>

We could not find what you were looking for.

Would you like to visit our homepage instead?

[Go back to the home page 🏡]({{ site.url | relative_url }}).
<p>Мы не смогли найти то, что вы искали.</p>
<p>Хотели бы вы вместо этого посетить нашу домашнюю страницу?
<br>
<a href="{{ site.url | relative_url }}">
Вернитесь на домашнюю страницу 🏡
</a>
</p>
12 changes: 1 addition & 11 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,22 +283,12 @@ defaults:
layout: page
title: ~
description: ~
page_title: false
page_show_image: false
show_title_link: true
type: page
image: /assets/img/about.jpeg
noindex: false
paginate: false
published: true
tags: [ ]
lang: ~
# date: "2023-01-31 00:56:00 +0300"
author:
name: ~
url: ~
email: ~
avatar: ~
image: https://images.unsplash.com/photo-1488722796624-0aa6f1bb6399?w=400&fit=crop&fm=webp&auto=compress
categories: [ ]

- scope:
Expand Down
10 changes: 5 additions & 5 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
- name: Обо мне
link: /about
rel: author
icon: <i class="fa-solid fa-image-user" aria-hidden="true"></i>
disabled: false
#- name: Обо мне
# link: /about
# rel: author
# icon: <i class="fa-solid fa-image-user" aria-hidden="true"></i>
# disabled: false

#- name: Блог
# link: /blog
Expand Down
12 changes: 6 additions & 6 deletions _includes/header.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

<nav class="navbar navbar-expand-md navbar-light fixed-top bg-light">
<div class="container-lg">
<a class="navbar-brand" href="{{ site_url }}">
<img src="{{ site.logo | relative_url }}"
width="30"
height="30"
class="d-inline-block align-top rounded-circle"
alt="{{ site.title | escape }}">
<a class="navbar-brand" href="{{ site_url }}" rel="home">
{% comment %}<img src="{{ site.logo | relative_url }}"{% endcomment %}
{% comment %}width="30"{% endcomment %}
{% comment %}height="30"{% endcomment %}
{% comment %}class="d-inline-block align-top rounded-circle"{% endcomment %}
{% comment %}alt="{{ site.title | escape }}">{% endcomment %}
{{ site.short_title }}
</a>
<button class="navbar-toggler"
Expand Down
13 changes: 0 additions & 13 deletions _layouts/blank.liquid

This file was deleted.

2 changes: 1 addition & 1 deletion _layouts/default.liquid
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{%- include variables.liquid -%}
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: 'ru' }}">
<html lang="{{ page.lang | default: site.lang }}">
{%- include head.liquid %}
<body class="{{ page.layout }}">
{%- include head/google-tag-manager-body.liquid -%}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
37 changes: 37 additions & 0 deletions _layouts/old/page.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
layout: default
---
<article class="page">
{% include snippet/post/post-thumbnail.liquid
src=page.image
alt=page.title
param='?w=942&h=218&fit=crop'
%}
<header class="page-header">
{% if page.page_title %}
{% include snippet/post/post-title.liquid
title=page.page_title
url=page.url
%}
{% else %}
{% include snippet/post/post-title.liquid
title=page.title
url=page.url
%}
{% endif %}
{% include snippet/post/post-meta.liquid
date=page.date
content=page.content
modified_date=page.modified_date
%}
{% include snippet/post/post-tags.liquid
tags=page.tags
%}
{% include snippet/post/post-categories.liquid
categories=page.categories
%}
</header>
<div class="page-content">
{{ content }}
</div>
</article>
File renamed without changes.
File renamed without changes.
38 changes: 4 additions & 34 deletions _layouts/page.liquid
Original file line number Diff line number Diff line change
@@ -1,37 +1,7 @@
---
layout: default
---
<article class="page">
{% include snippet/post/post-thumbnail.liquid
src=page.image
alt=page.title
param='?w=942&h=218&fit=crop'
%}
<header class="page-header">
{% if page.page_title %}
{% include snippet/post/post-title.liquid
title=page.page_title
url=page.url
%}
{% else %}
{% include snippet/post/post-title.liquid
title=page.title
url=page.url
%}
{% endif %}
{% include snippet/post/post-meta.liquid
date=page.date
content=page.content
modified_date=page.modified_date
%}
{% include snippet/post/post-tags.liquid
tags=page.tags
%}
{% include snippet/post/post-categories.liquid
categories=page.categories
%}
</header>
<div class="page-content">
{{ content }}
</div>
</article>

{% comment %}{{ page | jsonify }}{% endcomment %}

{{ content }}
71 changes: 0 additions & 71 deletions about.html

This file was deleted.

Loading

0 comments on commit 95f5dad

Please sign in to comment.