Start Bootstrap - Clean Blog Jekyll - Official Jekyll Version
Clean Blog Jekyll is a stylish, responsive blog theme for Bootstrap created by Start Bootstrap. This theme features a blog homepage, about page, contact page, and an example post page along with a working contact form powered by Formspree.
This repository holds the official Jekyll version of the Clean Blog theme on Start Bootstrap!
When installing the theme using RubyGems, demo images, posts, and pages are not included. Follow the instructions below for complete setup.
- (Optional) Create a new Jekyll site:
jekyll new my-site - Replace the current theme in your
Gemfilewithgem "jekyll-theme-clean-blog". - Install the theme (run the command inside your site directory):
bundle install - Replace the current theme in your
_config.ymlfile withtheme: jekyll-theme-clean-blog. - Build your site:
bundle exec jekyll serve
Assuming there are no errors and the site is building properly, follow these steps next:
-
Create the following pages if they do not exist already (or change the extension of existing markdown files from
.mdto.html):index.html- set tolayout: homeabout.html- set tolayout: pagecontact.html- set tolayout: pageposts/index.html- set tolayout: page(you will also need to create apostsdirectory)
-
Configure the
index.htmlfront matter. Example:--- layout: home background: '/PATH_TO_IMAGE' ---
-
Configure the
about.html,contact.html, andposts/index.htmlfront matter. Example:--- layout: page title: Page Title description: This is the page description. background: '/PATH_TO_IMAGE' ---
-
For each post in the
_postsdirectory, update the front matter. Example:--- layout: post title: "Post Title" subtitle: "This is the post subtitle." date: YYYY-MM-DD HH:MM:SS background: '/PATH_TO_IMAGE' ---
For reference, look at the demo repository to see how the files are set up.
-
Add the form to the
contact.htmlpage. Add the following code to yourcontact.htmlpage:<form name="sentMessage" id="contactForm" novalidate> <div class="control-group"> <div class="form-group floating-label-form-group controls"> <label>Name</label> <input type="text" class="form-control" placeholder="Name" id="name" required data-validation-required-message="Please enter your name."> <p class="help-block text-danger"></p> </div> </div> <div class="control-group"> <div class="form-group floating-label-form-group controls"> <label>Email Address</label> <input type="email" class="form-control" placeholder="Email Address" id="email" required data-validation-required-message="Please enter your email address."> <p class="help-block text-danger"></p> </div> </div> <div class="control-group"> <div class="form-group col-xs-12 floating-label-form-group controls"> <label>Phone Number</label> <input type="tel" class="form-control" placeholder="Phone Number" id="phone" required data-validation-required-message="Please enter your phone number."> <p class="help-block text-danger"></p> </div> </div> <div class="control-group"> <div class="form-group floating-label-form-group controls"> <label>Message</label> <textarea rows="5" class="form-control" placeholder="Message" id="message" required data-validation-required-message="Please enter a message."></textarea> <p class="help-block text-danger"></p> </div> </div> <br> <div id="success"></div> <div class="form-group"> <button type="submit" class="btn btn-primary" id="sendMessageButton">Send</button> </div> </form>
Make sure you have the
emailsetting in your_config.ymlfile set to a working email address! Once this is set, fill out the form and then check your email, verify the email address using the link sent to you by Formspree, and then the form will be working! -
Build your site:
bundle exec jekyll serve
When using the core files, the demo images, posts, and pages are all included with the download. After following the instructions below, you can then go and change the content of the pages and posts.
-
Download or Clone the repository.
-
Update the following configuration settings in your
_config.ymlfile:baseurlurltitleemail(after setting this setting to a working email address, fill out the form on the contact page and send it - then check your email and verify the address and the form will send you messages when used)descriptionauthortwitter_username(Optional)facebook_username(Optional)github_username(Optional)linkedin_username(Optional)instagram_username(Optional)
-
Build your site:
bundle exec jekyll serve
Have a bug or an issue with this template? Open a new issue here on GitHub!
Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects.
Start Bootstrap was created by and is maintained by David Miller.
Start Bootstrap is based on the Bootstrap framework created by Mark Otto and Jacob Thorton.
Copyright 2013-2021 Start Bootstrap LLC. Code released under the MIT license.
Clean Blog Jekyll은 Start Bootstrap에서 만든 Bootstrap 기반의 세련되고 반응형 블로그 테마입니다. 이 테마는 블로그 홈, 소개 페이지, 연락처 페이지, 예시 포스트 페이지를 제공하며, Formspree를 이용한 동작 가능한 문의 폼도 포함합니다.
이 저장소는 Start Bootstrap의 Clean Blog 테마 Jekyll 공식 버전을 담고 있습니다.
RubyGems로 테마를 설치하면 데모 이미지/포스트/페이지는 기본 포함되지 않습니다. 전체 구성을 위해 아래 순서를 따르세요.
- (선택) 새 Jekyll 사이트 생성:
jekyll new my-site Gemfile의 테마를gem "jekyll-theme-clean-blog"로 변경- 사이트 디렉터리에서 의존성 설치:
bundle install _config.yml의 테마를theme: jekyll-theme-clean-blog로 변경- 사이트 빌드/서버 실행:
bundle exec jekyll serve
빌드가 정상이라면 추가로 아래를 진행합니다.
-
아래 페이지를 생성(또는
.md를.html로 변경)index.html:layout: homeabout.html:layout: pagecontact.html:layout: pageposts/index.html:layout: page(posts디렉터리 필요)
-
index.htmlfront matter 설정 예시
---
layout: home
background: '/PATH_TO_IMAGE'
---about.html,contact.html,posts/index.htmlfront matter 설정 예시
---
layout: page
title: Page Title
description: This is the page description.
background: '/PATH_TO_IMAGE'
---_posts안 각 포스트 front matter 설정 예시
---
layout: post
title: "Post Title"
subtitle: "This is the post subtitle."
date: YYYY-MM-DD HH:MM:SS
background: '/PATH_TO_IMAGE'
---contact.html에 폼 추가 (원문 코드 블록 참고)- 다시 빌드:
bundle exec jekyll serve
코어 파일 방식은 다운로드 시 데모 이미지/포스트/페이지가 포함됩니다.
- 저장소 다운로드 또는 클론
_config.yml의 설정값 갱신baseurl,url,title,email,description,author- 선택:
twitter_username,facebook_username,github_username,linkedin_username,instagram_username
- 빌드:
bundle exec jekyll serve
Start Bootstrap은 오픈소스 Bootstrap 템플릿/테마 라이브러리이며, 무료 템플릿/테마는 MIT 라이선스로 배포됩니다.
로컬 Ruby/Jekyll 설치 없이 Docker로 미리보기/검증하도록 구성했습니다.
docker-compose.ymlDockerfile.jekyll.dockerignore
- 로컬 미리보기 서버
docker compose up --build- 배포 전 production 빌드 점검
docker compose run --rm jekyll-build- 종료
docker compose down --remove-orphans_posts/2025-11-10-paper.htmlfront matter YAML 오류 수정journal값(콜론 포함)과author값을 따옴표로 감싸 파싱 오류 해결
- 동일 출력 경로 충돌이 나던 포스트들에
slug추가- 충돌 경고(
Conflict: destination is shared by multiple files) 해소
- 충돌 경고(
- Docker 이미지 정리
- 테스트 중 사용했던
jekyll/builder:latest,jekyll/jekyll:pages정리
- 테스트 중 사용했던
