Initial commit

This commit is contained in:
2026-01-31 23:15:47 +03:00
commit 0bb1e1f36a
7 changed files with 111 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
/public/
.DS_Store
Thumbs.db
+3
View File
@@ -0,0 +1,3 @@
[submodule "themes/PaperMod"]
path = themes/PaperMod
url = https://github.com/adityatelange/hugo-PaperMod.git
View File
+5
View File
@@ -0,0 +1,5 @@
+++
date = '{{ .Date }}'
draft = true
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++
+26
View File
@@ -0,0 +1,26 @@
---
title: "Тестовая статья"
date: 2026-01-31T22:45:00+03:00
draft: false
---
# Тестовая статья
Это пример статьи в формате bundle. В этом формате все связанные файлы (изображения, код и т.д.) находятся в одной папке с основным файлом.
## Блок кода
```python
def hello_world():
print("Привет, мир!")
# Это важно для подсветки синтаксиса
```
## Изображения
![Alt текст](image.jpg)
## Заключение
Формат bundle позволяет удобно организовывать статьи и связанные с ними ресурсы в одной директории.
+73
View File
@@ -0,0 +1,73 @@
baseURL = 'https://dedinit.ru/'
languageCode = 'ru-ru'
title = 'dedinit.ru'
theme = 'PaperMod'
# Включаем bundle хранение статей
disableKinds = ['taxonomy']
preserveTaxonomyNames = true
[params]
env = "production"
title = "dedinit.ru"
description = "Блог о программировании и технологиях"
keywords = ["блог", "программирование", "технологии"]
author = "Author"
# Настройки PaperMod
defaultTheme = "auto"
disableThemeToggle = false
ShowShareButtons = false
ShareButtons = ["telegram", "twitter", "linkedin", "reddit"]
ShowReadingTime = true
ShowPostNavLinks = true
ShowBreadCrumbs = true
ShowCodeCopyButtons = true
disableSpecial1 = false
disableSpecial2 = false
disableSpecial3 = false
# Настройки для комментариев (если понадобится)
# utterancesRepo = ""
# utterancesTheme = "preferred-color-scheme"
# Отключаем Google Analytics, т.к. partial отсутствует
# googleAnalytics = ""
# Убираем использование .Site.Social, так как устарело
# Social = {twitter = "username"}
[outputs]
home = ["HTML", "RSS"]
page = ["HTML"]
section = ["HTML", "RSS"]
taxonomy = ["HTML", "RSS"]
term = ["HTML", "RSS"]
[taxonomies]
category = "categories"
tag = "tags"
[markup]
[markup.highlight]
style = "github-dark"
lineNos = true
tabWidth = 4
[menu]
[[menu.main]]
name = "Главная"
url = "/"
weight = 10
[[menu.main]]
name = "Архив"
url = "/posts/"
weight = 20
[[menu.main]]
name = "Категории"
url = "/categories/"
weight = 30
[[menu.main]]
name = "Теги"
url = "/tags/"
weight = 40
+1
Submodule themes/PaperMod added at a2eb47bb4b