This commit is contained in:
Alexander Popov 2022-08-28 23:54:19 +03:00
parent d769c9f0f0
commit b3cf5cb1b7
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C
15 changed files with 299 additions and 1 deletions

View File

@ -2,7 +2,7 @@ baseURL = 'https://blog.iiiypuk.me/'
defaultContentLanguage = 'ru'
languageCode = 'ru'
title = 'Alexander Popov'
theme = 'papermod'
theme = 'papercut'
enableRobotsTXT = false
buildDrafts = false

View File

@ -0,0 +1,17 @@
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[{*.html,*.css,*.json}]
indent_style = tab
indent_size = 4
[*.js]
indent_style = space
indent_size = 2

2
themes/papercut/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
static/css/bootstrap*.css
static/js/bootstrap*.js

View File

@ -0,0 +1,2 @@
+++
+++

View File

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="ru">
{{- partial "head.html" . -}}
<body class="bg-light">
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>

View File

@ -0,0 +1,14 @@
{{ define "main" }}
<div class="container">
<main>
<section class="bg-white border rounded shadow-sm p-3 mb-3">
{{ range .Pages.ByPublishDate.Reverse }}
<p class="my-2 p-0">
{{ .PublishDate.Format "2006-01-02" }}
<a class="text-clean" href="{{ .RelPermalink }}">{{ .Title }}</a>
</p>
{{ end }}
</section>
</main>
</div>
{{ end }}

View File

@ -0,0 +1,34 @@
{{ define "main" }}
<div class="container">
<main>
<section class="bg-white border rounded shadow-sm p-3 mb-3 text-center">
<nav aria-label="breadcrumb">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item"><a href="/">Главная</a></li>
<li class="breadcrumb-item"><a href="/posts/">Посты</a></li>
<li class="breadcrumb-item active" aria-current="page">{{ .Title }}</li>
</ol>
</nav>
</section>
<section class="bg-white border rounded shadow-sm p-3 mb-3 text-center">
<h3 class="m-0 p-0">{{ .Title }}</h3>
<i class="d-block mt-2 text-secondary">Опубликовано: {{ time.Format "2 January 2006 г." .PublishDate }}</i>
<div class="border-top mt-3 p-3 pb-0">
{{ with .Params.tags }}
{{ range . }}
{{ $href := print (absURL "tags/") (urlize .) }}
<a class="btn btn-sm btn-outline" href="{{ $href }}">🏷️ {{ . }}</a>
{{ end }}
{{ end }}
</div>
</section>
<section class="bg-white border rounded shadow-sm p-3 mb-3">
{{ .Content }}
</section>
</main>
</div>
{{ end }}

View File

@ -0,0 +1,151 @@
{{ define "main" }}
<div class="container">
<main>
<section>
<p class="bg-white border rounded shadow-sm p-3 text-center">
Hey, I'm Alexander Popov.
I'm Full Stack Developer
</p>
</section>
<section class="bg-white border rounded shadow-sm p-3 mb-3">
<h2>🔌 What I use</h2>
<p class="fw-bold mb-1">📕 Languages & frameworks</p>
<div class="lh-lg mb-3">
<span class="rounded px-2 py-1 bg-primary text-white">Pure C</span>
<span class="rounded px-2 py-1 bg-primary text-white">Python</span>
<span class="rounded px-2 py-1 bg-primary text-white">Crystal</span>
<span class="rounded px-2 py-1 bg-primary text-white">JavaScript</span>
<span class="rounded px-2 py-1 bg-primary text-white">PHP</span>
<span class="rounded px-2 py-1 bg-primary text-white text-nowrap">Bootstrap 5</span>
<span class="rounded px-2 py-1 bg-primary text-white text-nowrap">CSS 3</span>
<span class="rounded px-2 py-1 bg-primary text-white text-nowrap">HTML 5</span>
</div>
<p class="fw-bold mb-1">📢 Services</p>
<div class="lh-lg mb-3">
<span class="rounded px-2 py-1 bg-primary text-white">FastMail</span>
<span class="rounded px-2 py-1 bg-primary text-white">Last.fm</span>
</div>
<p class="fw-bold mb-1">🧰 Tools</p>
<div class="lh-lg mb-3">
<span class="rounded px-2 py-1 bg-primary text-white text-nowrap">Arch Linux</span>
<span class="rounded px-2 py-1 bg-primary text-white text-nowrap">Windows 11</span>
<span class="rounded px-2 py-1 bg-primary text-white text-nowrap">Sublime Text 4</span>
<span class="rounded px-2 py-1 bg-primary text-white text-nowrap">Windows Terminal</span>
<span class="rounded px-2 py-1 bg-primary text-white">EditorConfig</span>
<span class="rounded px-2 py-1 bg-primary text-white">Git</span>
<span class="rounded px-2 py-1 bg-primary text-white">Gitea</span>
<span class="rounded px-2 py-1 bg-primary text-white">Tmux</span>
</div>
</section>
<section class="bg-white border rounded shadow-sm p-3 mb-3">
<h2>🗂️ My projects</h2>
<div class="row row-cols-1 row-cols-md-2 row-cols-xl-3 g-3 justify-content-start align-items-start">
<div>
<div class="bg-white border rounded">
<div class="d-flex flex-column p-3">
<h2 class="fs-6 fw-bold">⛏️ Minecraft JE Batch Launcher</h2>
<p>Simple script for launch Minecraft without official launcher. Any OS</p>
<a class="btn btn-sm btn-outline-primary" href="https://me.a2s.su/minecraft-launcher/" target="_blank">Get</a>
</div>
</div>
</div>
<div>
<div class="bg-white border rounded">
<div class="d-flex flex-column p-3">
<h2 class="fs-6 fw-bold">🔡 е с точками</h2>
<p>Сайт для тех, что ценит красивое написание текста</p>
<a class="btn btn-sm btn-outline-primary" href="https://xn--61a.a2s.su" target="_blank">Перейти</a>
</div>
</div>
</div>
<div>
<div class="bg-white border rounded">
<div class="d-flex flex-column p-3">
<h2 class="fs-6 fw-bold">🎞️ Get YouTube video cover</h2>
<p>Service for download video cover from YouTube</p>
<a class="btn btn-sm btn-outline-primary" href="https://me.a2s.su/ytcg/" target="_blank">Get</a>
</div>
</div>
</div>
<div>
<div class="bg-white border rounded">
<div class="d-flex flex-column p-3">
<h2 class="fs-6 fw-bold">⌨️ CHange Of LAyout</h2>
<p>Меняем написанный текст буржуйской раскладки на нашинскую</p>
<a class="btn btn-sm btn-outline-primary" href="https://me.a2s.su/chola/" target="_blank">Перейти</a>
</div>
</div>
</div>
<div>
<div class="bg-white border rounded">
<div class="d-flex flex-column p-3">
<h2 class="fs-6 fw-bold">🟢 vk0nline</h2>
<p>systemd service and utility for set
<span class="rounded p-1 bg-success text-white">online</span> status on Vk.com</p>
<a class="btn btn-sm btn-outline-primary" href="https://git.a2s.su/iiiypuk/vk0nline" target="_blank">Get</a>
</div>
</div>
</div>
</div>
</section>
<section class="bg-white border rounded shadow-sm p-3 mb-3">
<h2>💼 My little projects</h2>
<p>
<a class="btn btn-sm btn-outline-primary" href="https://git.a2s.su/mirror" target="_blank">🔗</a>
<span class="align-end lh-lg mx-2">Git mirrors of some repos</span>
</p>
<p>
<a class="btn btn-sm btn-outline-primary" href="https://git.a2s.su/iiiypuk/lpp-linux-builder" target="_blank">🔗</a>
<span class="align-end lh-lg mx-2">Script for build
<a href="http://rinnegatamante.github.io/lpp-vita/" target="_blank">Lua Player Plus</a>
apps for PSVITA (PSP2)</span>
</p>
<p>
<a class="btn btn-sm btn-outline-primary" href="https://git.a2s.su/iiiypuk/lastfm-backup" target="_blank">🔗</a>
<span class="align-end lh-lg mx-2">Script for download music scrobbles from Last.fm</span>
</p>
<p>
<a class="btn btn-sm btn-outline-primary" href="https://git.a2s.su/iiiypuk/olr_steam" target="_blank">🔗</a>
<span class="align-end lh-lg mx-2">Инструкция по запуску Oblivion Lost Remake в Steam
(до ухода из GH было почти 1к скачиваний)</span>
</p>
<p>
<a class="btn btn-sm btn-outline-primary" href="https://git.a2s.su/iiiypuk/ogsr_steam" target="_blank">🔗</a>
<span class="align-end lh-lg mx-2">Инструкция по запуску OGSR Mod в Steam</span>
</p>
<p>
<a class="btn btn-sm btn-outline-primary" href="https://git.a2s.su/iiiypuk/minecraft-libs-parser" target="_blank">🔗</a>
<span class="align-end lh-lg mx-2">Library parser from <span class="font-monospace rounded p-1 bg-dark text-white">version.json</span> on Minecraft JE</span>
</p>
<p>
<a class="btn btn-sm btn-outline-primary" href="https://git.a2s.su/iiiypuk/cuboid" target="_blank">🔗</a>
<span class="align-end lh-lg mx-2">Stuff
<span class="font-monospace rounded p-1 bg-dark text-white">JoyeTech Cuboid TC 150W</span></span>
</p>
</section>
<section class="bg-white border rounded shadow-sm p-3 mb-3">
<h2>📫 How to reach me</h2>
<div class="lh-lg">
<a class="text-decoration-none rounded px-2 py-1 bg-primary text-white" target="_blank" href="https://twitter.com/_iiiypuk">Twitter</a>
<a class="text-decoration-none rounded px-2 py-1 bg-primary text-white" target="_blank" href="mailto:iiiypuk@fastmail.fm">EMail</a>
</div>
</section>
</main>
</div>
{{ end }}

View File

@ -0,0 +1,5 @@
<footer class="shadow-lg p-md-5 p-3 text-center border-top">
<div class="container">
<p class="m-0">Made with 🤍</p>
</div>
</footer>

View File

@ -0,0 +1,10 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="/css/styles.css">
{{ $title := print .Site.Title " | " .Title }}
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
<title>{{ $title }}</title>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
</head>

View File

@ -0,0 +1,16 @@
<header class="bg-dark shadow-sm sticky-top py-3 mb-3">
<div class="container">
<div class="row flex-nowrap justify-content-between align-items-center">
<div class="col-4 fs-3">
🏴‍☠️
</div>
<div class="col-4 text-center fw-bold fs-3 text-white">
Сашка ☕
</div>
<div class="col-4 d-flex justify-content-end align-items-center">
<a class="btn btn-sm btn-outline-light" href="/posts/" target="_blank">Blog</a>&nbsp;
💀 🔵 🔴
</div>
</div>
</div>
</header>

View File

@ -0,0 +1,19 @@
img {
display: block;
border-radius: 8px;
margin: 3px auto;
max-width: 90%;
}
/*pre {
background-color: #272822;
border-radius: 8px;
padding: 16px;
}*/
/*code {
background-color: #272822;
border-radius: 8px;
padding: 0 8px;
}
*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,17 @@
name = "Papercut"
license = "The Unlicense
description = ""
homepage = "http://example.com/"
tags = []
features = []
min_version = "0.41.0"
[author]
name = "NAME"
homepage = "HOMEPAGE"
# If porting an existing theme
[original]
name = "NAME2"
homepage = "HOME2"
repo = "REPO"