148 lines
3.9 KiB
TOML
148 lines
3.9 KiB
TOML
baseURL = 'https://ada-dev.ru/'
|
|
locale = 'ru-ru'
|
|
title = 'Dmitry Antipenko'
|
|
theme = "gokarna"
|
|
enableRobotsTXT = true
|
|
|
|
[params]
|
|
avatarURL = "/images/avatar.webp"
|
|
avatarAltText = "Dmitry"
|
|
showBackToTopButton = true
|
|
|
|
customHeadHTML = """
|
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
|
|
<style>
|
|
.home-nav {
|
|
display: flex;
|
|
gap: 2rem;
|
|
justify-content: center;
|
|
margin-top: 0.5rem;
|
|
}
|
|
.home-nav a {
|
|
font-size: 1.1rem;
|
|
text-decoration: none;
|
|
opacity: 0.75;
|
|
transition: opacity 0.2s;
|
|
}
|
|
.home-nav a:hover { opacity: 1; }
|
|
.home-nav a svg { vertical-align: middle; margin-bottom: 5px; }
|
|
|
|
.about-contacts {
|
|
list-style: none;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
.about-contacts li { display: flex; align-items: center; gap: 0.5rem; }
|
|
.about-contacts svg { width: 16px; height: 16px; flex-shrink: 0; }
|
|
|
|
.projects-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
margin-top: 2rem;
|
|
}
|
|
.project-card {
|
|
display: block;
|
|
padding: 1.25rem 1.5rem;
|
|
border: 1px solid currentColor;
|
|
border-radius: 6px;
|
|
text-decoration: none;
|
|
opacity: 0.85;
|
|
transition: opacity 0.2s;
|
|
}
|
|
.project-card:hover { opacity: 1; }
|
|
.project-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.project-title { font-size: 1.1rem; font-weight: 600; }
|
|
.project-arrow svg { width: 18px; height: 18px; }
|
|
.project-description {
|
|
margin: 0.5rem 0 0.75rem;
|
|
opacity: 0.7;
|
|
font-size: 0.95rem;
|
|
}
|
|
.project-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
|
|
.project-tag {
|
|
font-size: 0.75rem;
|
|
padding: 2px 8px;
|
|
border: 1px solid currentColor;
|
|
border-radius: 99px;
|
|
opacity: 0.6;
|
|
}
|
|
</style>
|
|
"""
|
|
|
|
customFooterHTML = """
|
|
<script>
|
|
(function () {
|
|
function syncAvatars() {
|
|
var imgs = document.querySelectorAll('.theme-aware-avatar');
|
|
var darkCss = document.getElementById('dark-theme');
|
|
var isDark = darkCss && !darkCss.disabled;
|
|
imgs.forEach(function(img) { img.style.filter = isDark ? '' : 'invert(1)'; });
|
|
}
|
|
document.addEventListener('DOMContentLoaded', function () {
|
|
syncAvatars();
|
|
var darkCss = document.getElementById('dark-theme');
|
|
if (darkCss) {
|
|
new MutationObserver(syncAvatars).observe(darkCss, {
|
|
attributes: true, attributeFilter: ['disabled']
|
|
});
|
|
}
|
|
});
|
|
})();
|
|
</script>
|
|
"""
|
|
|
|
socialIcons = [
|
|
{name = "github", url = "https://github.com/ada-dmitry"},
|
|
{name = "telegram", url = "https://t.me/moonlosk"},
|
|
{name = "email", url = "mailto:ada.dmitry@gmail.com"}
|
|
]
|
|
|
|
[menu]
|
|
[[menu.main]]
|
|
identifier = "projects"
|
|
pre = "<span data-feather='code'></span>"
|
|
url = "/projects/"
|
|
weight = 2
|
|
|
|
[[menu.main]]
|
|
identifier = "notes"
|
|
pre = "<span data-feather='file-text'></span>"
|
|
url = "/posts/"
|
|
weight = 3
|
|
|
|
[[menu.main]]
|
|
identifier = "about"
|
|
pre = "<span data-feather='user'></span>"
|
|
url = "/about/"
|
|
weight = 4
|
|
|
|
[[menu.main]]
|
|
identifier = "github"
|
|
pre = "<span data-feather='github'></span>"
|
|
url = "https://github.com/ada-dmitry"
|
|
weight = 5
|
|
[menu.main.params]
|
|
NewPage = true
|
|
|
|
[markup]
|
|
[markup.goldmark.renderer]
|
|
unsafe = true
|
|
[markup.tableOfContents]
|
|
startLevel = 1
|
|
endLevel = 4
|
|
ordered = false
|
|
|
|
[minify]
|
|
minifyOutput = true
|