add avatar
This commit is contained in:
@@ -24,3 +24,21 @@ body {
|
|||||||
height: auto;
|
height: auto;
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* лёгкая тень */
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* лёгкая тень */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Blog specific styles */
|
||||||
|
.post-entry {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
padding: 1.5rem;
|
||||||
|
background: rgba(var(--entry), 0.8);
|
||||||
|
border-radius: 8px;
|
||||||
|
transition: transform 0.2s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-entry:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.entry-content h2 {
|
||||||
|
margin-top: 2rem;
|
||||||
|
color: rgb(var(--primary));
|
||||||
|
}
|
||||||
|
|||||||
23
config.yaml
23
config.yaml
@@ -3,8 +3,19 @@ title: Маша Дергачева
|
|||||||
theme: PaperMod
|
theme: PaperMod
|
||||||
languageCode: ru
|
languageCode: ru
|
||||||
defaultContentLanguage: ru
|
defaultContentLanguage: ru
|
||||||
pagination:
|
|
||||||
pagerSize: 10
|
# Add these new sections:
|
||||||
|
paginate: 10
|
||||||
|
buildDrafts: false
|
||||||
|
buildFuture: false
|
||||||
|
|
||||||
|
menu:
|
||||||
|
main:
|
||||||
|
- identifier: blog
|
||||||
|
name: Блог
|
||||||
|
url: /blog/
|
||||||
|
weight: 10
|
||||||
|
|
||||||
params:
|
params:
|
||||||
defaultTheme: light
|
defaultTheme: light
|
||||||
disableThemeToggle: true
|
disableThemeToggle: true
|
||||||
@@ -13,6 +24,13 @@ params:
|
|||||||
ShowPostNavLinks: false
|
ShowPostNavLinks: false
|
||||||
ShowBreadCrumbs: false
|
ShowBreadCrumbs: false
|
||||||
ShowRssButtonInSectionTermList: false
|
ShowRssButtonInSectionTermList: false
|
||||||
|
|
||||||
|
# Blog specific settings
|
||||||
|
ShowPostNavLinks: true
|
||||||
|
ShowBreadCrumbs: true
|
||||||
|
ShowReadingTime: true
|
||||||
|
ShowCodeCopyButtons: true
|
||||||
|
|
||||||
profileMode:
|
profileMode:
|
||||||
enabled: true
|
enabled: true
|
||||||
title: Привет, я Маша
|
title: Привет, я Маша
|
||||||
@@ -28,4 +46,3 @@ params:
|
|||||||
url: mailto:dermaria2006@gmail.com
|
url: mailto:dermaria2006@gmail.com
|
||||||
- name: Позвонить
|
- name: Позвонить
|
||||||
url: tel:+79521474129
|
url: tel:+79521474129
|
||||||
|
|
||||||
|
|||||||
6
content/blog/_index.md
Normal file
6
content/blog/_index.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "Блог"
|
||||||
|
date: 2024-01-01
|
||||||
|
type: blog
|
||||||
|
---
|
||||||
|
Здесь я делюсь своими мыслями и заметками.
|
||||||
22
content/blog/first-post.md
Normal file
22
content/blog/first-post.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
title: "Мой первый пост"
|
||||||
|
date: 2024-12-20T10:00:00+03:00
|
||||||
|
draft: false
|
||||||
|
tags: ["первый пост", "новости"]
|
||||||
|
summary: "Это мой первый пост в блоге"
|
||||||
|
---
|
||||||
|
|
||||||
|
## Добро пожаловать в мой блог!
|
||||||
|
|
||||||
|
Это пример первого поста. Здесь можно писать:
|
||||||
|
|
||||||
|
- Новости
|
||||||
|
- Мысли
|
||||||
|
- Идеи
|
||||||
|
- И многое другое
|
||||||
|
|
||||||
|
```python
|
||||||
|
# Пример кода
|
||||||
|
print("Привет, мир!")
|
||||||
|
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user