mirror of
https://github.com/ada-dmitry/ada-dmitry.github.io.git
synced 2026-09-24 01:10:35 +00:00
Обновить конфигурацию Jekyll: изменить заголовок, описание и настройки коллекций; обновить главную страницу с новым макетом и заголовком.
This commit is contained in:
+26
-11
@@ -1,16 +1,31 @@
|
|||||||
title: Your awesome title
|
title: "Digital Garden"
|
||||||
email: your-email@example.com
|
description: "Мои заметки и ссылки"
|
||||||
description: >- # this means to ignore newlines until "baseurl:"
|
lang: ru
|
||||||
Write an awesome description for your new site here. You can edit this
|
url: "https://dg.ada-dev.ru" # важное поле для ссылок/кэша
|
||||||
line in _config.yml. It will appear in your document head meta (for
|
baseurl: "" # для user.github.io — пусто
|
||||||
Google search results) and in your feed.xml site description.
|
|
||||||
baseurl: "" # the subpath of your site, e.g. /blog
|
|
||||||
url: "" # the base hostname & protocol for your site, e.g.
|
|
||||||
twitter_username: jekyllrb
|
|
||||||
github_username: jekyll
|
|
||||||
|
|
||||||
# Build settings
|
|
||||||
remote_theme: maximevaillancourt/digital-garden-jekyll-template
|
remote_theme: maximevaillancourt/digital-garden-jekyll-template
|
||||||
plugins:
|
plugins:
|
||||||
- jekyll-remote-theme
|
- jekyll-remote-theme
|
||||||
- jekyll-include-cache
|
- jekyll-include-cache
|
||||||
|
|
||||||
|
markdown: kramdown
|
||||||
|
|
||||||
|
# Коллекция заметок
|
||||||
|
collections:
|
||||||
|
notes:
|
||||||
|
output: true
|
||||||
|
permalink: /notes/:title/
|
||||||
|
|
||||||
|
# Значения по умолчанию
|
||||||
|
defaults:
|
||||||
|
- scope: { path: "", type: notes }
|
||||||
|
values: { layout: note }
|
||||||
|
- scope: { path: "", type: posts }
|
||||||
|
values: { layout: post }
|
||||||
|
|
||||||
|
exclude:
|
||||||
|
- Gemfile
|
||||||
|
- Gemfile.lock
|
||||||
|
- node_modules
|
||||||
|
- vendor
|
||||||
|
|||||||
+5
-4
@@ -1,6 +1,7 @@
|
|||||||
---
|
---
|
||||||
# Feel free to add content and custom Front Matter to this file.
|
layout: page
|
||||||
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
|
title: Главная
|
||||||
|
---
|
||||||
|
|
||||||
layout: home
|
# Привет!
|
||||||
---
|
Это мой Digital Garden. Список заметок — в разделе [Заметки](/notes/).
|
||||||
|
|||||||
Reference in New Issue
Block a user