Post글을 작성하면서 사용할 수 있는 기능들을 정리 하였습니다.
댓글 기능
Post에 댓글 기능을 활성화 or 비활성화 합니다.
comments: true
comments: false
true
: 댓글 작성칸 활성화false
: 댓글 작성칸 비활성화
날짜 생성
Post에 생성 날짜 보여줌 기능을 활성화 or 비활성화 합니다.
show_date: true
show_date: false
true
: 날짜 활성화false
: 날짜 비활성화
읽는 시간
Post글의 읽는 시간 보여줌 기능을 활성화 or 비활성화 합니다.
read_time: true
read_time: false
true
: 읽는 시간 활성화false
: 읽는 시간 비활성화
관련 계시물 보여주기
Post글의 관련 계시글을 보여줄지 말지를 선택합니다.
related: true
related: false
true
: 관련글 활성화false
: 관련글 비활성화
관련 계시물 보여주기
Post글의 관련 계시글을 보여줄지 말지를 선택합니다.
related: true
related: false
true
: 관련글 활성화false
: 관련글 비활성화
공유페이지 생성하기
Post글의 공유 링클르 생성할지 선택합니다.
share: true
share: false
true
: 공유 페이지 활성화false
: 공유 페이지 비활성화
목차 생성
목차 생성을 하기 위해서는 toc: true
을 글을 작성할 때 사용해야 합니다.
---
toc: true
toc_label: "Unique Title" # 목차 테이블 제목
toc_icon: "heart" # corresponding Font Awesome icon name (without fa prefix)
toc_sticky: true # 목차 페이지에 고정하기
---
소개글 작성
Post의 간단한 소개글을 작성합니다.
excerpt: "간단한 소개글을 작성합니다."
작성자 사이드바
사이드바(author sidebar)를 표시하는 여부를 설정방법을 소개합니다.
author_profile: true
author_profile: false
true
: 작성자 활성화false
: 작성자 비활성화
헤더 이미지 생성
Post 헤더의 이미지를 설정합니다.
tagline: "This is a custom tagline content which overrides the *default* page excerpt." # 이미지 위에 올라가는 설명 글
header:
image: /assets/images/unsplash-image-4.jpg # 이미지 경로
caption: "Photo credit: [**Unsplash**](https://unsplash.com)" # 이미지 설명
overlay_color: "#333" # 이미지 없을경우 색으로 대체
overlay_filter: 0.5 # 불투명 필터 생성
overlay_filter: rgba(255, 0, 0, 0.5) # 색상 필터 적용
# 버튼 생성하기
actions:
- label: "Call to action 1"
url: "https://github.com"
- label: "Call to action 2"
url: "https://mademistakes.com"
사이드바 설정
왼쪽의 사이드바의 내용을 자신이 원하는 것으로 커스텀 합니다.
_data
폴더에 navigation.yml
파일을 생성하고 아래의 내용을 추가하여 사이드마 메뉴를 생성할 수 있습니다.
sidebar-sample:
- title: "Parent Page A"
children:
- title: "Child Page A1"
url: /child-page-a1/
- title: "Child Page A2"
url: /child-page-a2/
- title: "Child Page A3"
url: /child-page-a3/
- title: "Child Page A4"
url: /child-page-a4/
내용을 생성하고 적용시키는 방법은 아래와 동일합니다.
title: "Layout: Sidebar Custom"
excerpt: "A post with custom sidebar content."
author_profile: false
sidebar: # 사이드바 생성
- title: "Title"
image: http://placehold.it/350x250 # 이미지 적용
image_alt: "image" # 이미지 설명
text: "Some text here." # 내용 작서
nav: sidebar-sample # 커스텀 사이드바 적용
매일 반복되는 일상 속에서도 특별한 순간을 찾을 수 있기를 😊
Leave a comment