1. 이제부터 넌 내꺼야
Just the docs
테마를 적용한 이후 무언가 시작하려니 전부 영어다.
그래서 내가 익히기 편한대로 번역하여 정리해두고자 한다.
그럼 안까먹겠지 ㅎㅎ?
> _config.yml
구성을 담당하는 녀석으로 먼저 건드려줘야겠다.
잘모르더라도 하나하나 설정하다보면 언젠가는 …?
# 내 블로그 이름이다
title: Jmini Story
# bob 교육생이 되고 싶다
description: I want to go bob 11th
# 내 블로그 첫화면에서 띄울 경로를 지정한다
baseurl: "/" # the subpath of your site, e.g. /blog
# 내 블로그 주소를 지정한다
url: "https://Jminis.github.io"
# 이쁘다
permalink: pretty
# 블로그에서 탐색을 제외할 디렉토리를 설정한다
exclude: ["node_modules/", "*.gemspec", ...]
# 검색 기능을 설정한다 딱히 건드리지 않았다
search_enabled: true
search:
heading_level: 2
previews: 2
preview_words_before: 3
preview_words_after: 3
tokenizer_separator: /[\s/]+/
rel_url: true
button: false
heading_anchors: true
# 오른쪽 상단의 보조링크를 설정한다
aux_links:
"Study Security Story":
- "https://Jminis.github.io"
# 보조링크를 추가하려면 true 하고 더 입력해야 한다
aux_links_new_tab: false
# 대소문자 가려가며 정렬한다. default로 하면 동등해진다
nav_sort: case_sensitive # Capital letters sorted before lowercase
# 페이지 맨 아래 처음으로 기능을 설정한다
back_to_top: true
back_to_top_text: "Back to top"
footer_content: "Copyright © ... MIT license.</a>"
# 마지막 수정 시간을 보여줄지 설정한다
last_edit_timestamp: true
last_edit_time_format: "%b %e %Y at %I:%M %p"
# 다크모드는 dark, 그게 아니면 light
color_scheme: dark
# 이 아래는... 음...
plugins:
- jekyll-seo-tag
kramdown:
syntax_highlighter_opts:
block:
line_numbers: false
compress_html:
clippings: all
comments: all
endings: all
startings: []
blanklines: false
profile: false
# ignore:
# envs: all
위에 주석 달린 코드 부분만 조금씩 수정해가며 조금씩 내 것으로 만들어 갈 수 있다.
> 아직 정리못한 부분이다
By default, the navigation and search include normal pages. Instead, you can also use Jekyll collections which group documents semantically together.
For example, put all your documentation files in the _docs
folder and create the docs
collection:
# Define Jekyll collections
collections:
# Define a collection named "docs", its documents reside in the "_docs" directory
docs:
permalink: "/:collection/:path/"
output: true
just_the_docs:
# Define which collections are used in just-the-docs
collections:
# Reference the "docs" collection
docs:
# Give the collection a name
name: Documentation
# Exclude the collection from the navigation
# Supports true or false (default)
nav_exclude: false
# Exclude the collection from the search
# Supports true or false (default)
search_exclude: false
You can reference multiple collections. This creates categories in the navigation with the configured names.
collections:
docs:
permalink: "/:collection/:path/"
output: true
tutorials:
permalink: "/:collection/:path/"
output: true
just_the_docs:
collections:
docs:
name: Documentation
tutorials:
name: Tutorials