add avatar
This commit is contained in:
@@ -24,3 +24,21 @@ body {
|
||||
height: auto;
|
||||
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
|
||||
languageCode: 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:
|
||||
defaultTheme: light
|
||||
disableThemeToggle: true
|
||||
@@ -13,6 +24,13 @@ params:
|
||||
ShowPostNavLinks: false
|
||||
ShowBreadCrumbs: false
|
||||
ShowRssButtonInSectionTermList: false
|
||||
|
||||
# Blog specific settings
|
||||
ShowPostNavLinks: true
|
||||
ShowBreadCrumbs: true
|
||||
ShowReadingTime: true
|
||||
ShowCodeCopyButtons: true
|
||||
|
||||
profileMode:
|
||||
enabled: true
|
||||
title: Привет, я Маша
|
||||
@@ -28,4 +46,3 @@ params:
|
||||
url: mailto:dermaria2006@gmail.com
|
||||
- name: Позвонить
|
||||
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