hydejack

BERT·2023년 7월 8일
0

githubio

목록 보기
1/2

Linux

hydejack-pro-9.1.6 다운로드 폴더에 압축해제

cp -r starter-kit starter-kit-github 
docker run \
-it \
-v /home/bert/Downloads/hydejack-pro-9.1.6/starter-kit-github:/hydejack \
-v /home/bert/Downloads:/Downloads \
--network host \
--name hydejack \
ruby:latest /bin/bash
docker start hydejack
docker exec -it start /bin/bash

Download RubyGems

cd /Downloads/rubygems-3.4.19
gem update --system
ruby setup.rb

Install Bundler

gem install bundler

cd /hydejack/
git config --global --add safe.directory /hydejack
bundle install
bundle exec jekyll serve

http://localhost:4000

windows

d:
cd JobSearch\hydejack_ghb
bundle exec jekyll serve

http://127.0.0.1:4000/

layout

blog
projects
grid
list
resume

New Project

  1. _config.yml

사이드바
컬렉션 레이아웃으로 진입할 메뉴

menu:
  - title:             OtherProjects
    url:               /other-collection/

새로운 컬렉션
컬렉션 파일을 모을 파일명과 연결

collections:
  other_projects:
    # Make sure the permalink path is different!
    permalink:         /other-projects/:path/
    output:            true
  1. other_collection.md

컬렉션 레이아웃

---
layout: projects
title: Other Projects*
show_collection: other_projects
---
  1. _other_projects
    하위에 .md 파일 작성

Category

  1. featured_categories 연결을 위해 _config 수정
collections:
  featured_categories:
    permalink:         /tech/:name/
    output:            true
  1. category가 속할 상위 폴더로 경로 수정
# Format of the permalinks
permalink:             /tech/:categories/:year-:month-:day-:title/

# Pagination configuration (used by the `blog` layout)
paginate:              10
paginate_path:         /tech/:num/
  1. _featured_categories에 추가할 category를 위한 .md파일 추가
  2. category 폴더 추가
  3. assets > img > 이미지 저장 폴더 추가
category="perception"
touch "_featured_categories/$category.md"
mkdir -p "$category"/_posts "assets/img/$category"

0개의 댓글

Powered by GraphCDN, the GraphQL CDN