@@ -0,0 +1,114 @@
|
||||
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 = """
|
||||
<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: 2px; }
|
||||
|
||||
.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 = "github"
|
||||
pre = "<span data-feather='github'></span>"
|
||||
url = "https://github.com/ada-dmitry"
|
||||
weight = 3
|
||||
[menu.main.params]
|
||||
NewPage = true
|
||||
|
||||
[markup]
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
[markup.tableOfContents]
|
||||
startLevel = 1
|
||||
endLevel = 4
|
||||
ordered = false
|
||||
|
||||
[minify]
|
||||
minifyOutput = true
|
||||
Reference in New Issue
Block a user