Skip to content

About

github.io blog

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

The Blog

Official Website

물리학 전공 지식 정리 및 컴퓨터 과학 학습, 개인 프로젝트 및 경험 정리 포트폴리오

Quarto로 만든 정적 블로그입니다. 글 안에서 코드 실행 결과를 직접 확인하며 상호작용할 수 있습니다.

카테고리 구조

Physics
├── Introductory Physics
├── Mathematical Physics
├── Classical Mechanics
├── Electromagnetism
├── Quantum Mechanics
├── Thermal and Statistical Physics
├── Optics
├── Relativity and Cosmology
├── Particle Physics
├── Astrophysics
├── Computational Physics
└── Quantum Information
Programming
Computer Science
├── Discrete Mathematics
├── Data Structures and Algorithms
├── Computer Architecture
├── Operating Systems
├── Computer Networks
├── Databases
├── Theory of Computation
├── Programming Languages and Compilers
├── Software Engineering
├── Information Security
├── Classical Computing
└── Quantum Computing
Projects
├── HomeLab
├── Design
└── ...
Experience
└── ...
  • Physics: 물리학 전공 과목별 개념 정리 및 문제 풀이, 계산과 시뮬레이션 등.
  • Programming: 개인 학습 및 부트캠프, Python, ML, DL, AI
  • Computer Science: 컴퓨터 과학. 하위는 학부 교육과정 순서의 과목 및 패러다임 구분인 고전 컴퓨터와 양자 컴퓨터.
  • Experience: 경험 정리와 회고.
  • Projects: 개인 프로젝트. 하위로 HomeLab, Design 등.

Quarto의 카테고리는 계층이 없는 평면 태그라서, 하위 주제의 글에는 상위와 하위 카테고리를 모두 붙입니다.

categories: [Computer Science, Quantum Computing]

상단 메뉴와 topics/ 폴더의 목록 페이지가 이 태그를 기준으로 글을 모아 보여 줍니다. 새 하위 주제를 추가하려면 topics/<분류>/에 목록 페이지를 만들고 _quarto.yml의 메뉴에 넣습니다.

  • 목록 페이지의 include 카테고리 문자열은 글에 붙이는 카테고리와 철자와 대소문자까지 같아야 합니다.
  • 목록 페이지의 contents 경로는 폴더 깊이만큼 ../를 붙입니다(topics/physics/x.qmd는 ../../posts/*/index.qmd, 한 층 더 깊으면 ../../../posts/*/index.qmd). 틀리면 목록이 에러 없이 비어 보입니다.
  • 메뉴의 href에는 .qmd 확장자까지 적습니다.
  • 물리학의 4대 역학(Classical Mechanics, Electromagnetism, Quantum Mechanics, Thermal and Statistical Physics)의 글에는 PHY Core Courses 카테고리를 추가로 붙입니다. 예: categories: [Physics, Quantum Mechanics, PHY Core Courses]
  • 컴퓨터 과학의 핵심 과목(Data Structures and Algorithms, Computer Architecture, Operating Systems, Computer Networks, Databases)의 글에는 CS Core Courses 카테고리를 추가로 붙입니다. 예: categories: [Computer Science, Operating Systems, CS Core Courses]

폴더 구성

posts/<슬러그>/     글 한 편 (index.qmd, 필요하면 .py)
topics/<분류>/      카테고리별 목록 페이지
lib/               공용 파이썬 코드 (필요할 때 만듦)
scripts/           빌드 전 검사
_freeze/           코드 실행 결과 저장본
_quarto.yml        사이트 설정, 상단 메뉴, 푸터
styles.css         푸터를 화면 아래에 고정하는 스타일
footer-year.html   푸터의 연도 범위를 올해까지로 갱신하는 스크립트

main에 push 후 GitHub Actions가 사이트를 빌드, gh-pages 브랜치로 배포.

새 글을 쓸 때

posts/<폴더 이름>/index.qmd를 만들고, 머리말에 giscus-id를 넣고, 글 맨 아래에 댓글 삽입 줄을 둡니다.

---
title: "글 제목"
date: "2026-10-28"
categories: [Physics, Quantum Information]
giscus-id: 폴더-이름-그대로
---

본문

{{< include /_giscus.qmd >}}
  • giscus-id는 댓글 스레드를 찾는 고유값입니다. 처음에는 폴더 이름과 같게 쓰고(소문자, 숫자, 하이픈), 한 번 정하면 바꾸지 않습니다. 글 제목이나 폴더 이름을 나중에 바꿔도 이 값이 같으면 댓글이 유지됩니다. 이 값은 GitHub Discussions의 Comments 카테고리에서 스레드 제목으로 보입니다.
  • 렌더링 전에 scripts/check-giscus-ids.sh가 모든 글에 giscus-id와 삽입 줄이 있는지, 값이 겹치지 않는지 검사합니다. 어긋나면 빌드가 멈춥니다.
  • 방명록은 이 방식이 아니라 Quarto 내장 설정(guestbook.qmd)을 씁니다.

코드를 .py 파일로 둘 때

posts/<폴더 이름>/surface.py   이 글 전용 코드
lib/                           여러 글이 같이 쓰는 코드 (필요할 때 만듦)
  • 불러오기: from surface import make_surface
  • 코드 내용 보여 주기: 코드 블록 안에 {{< include surface.py >}}
  • lib/는 셀 위에서 sys.path.insert(0, str(pathlib.Path.cwd().parents[1] / "lib"))
  • .py만 고치면 freeze가 결과를 갱신하지 않습니다. quarto render posts/<폴더 이름>/index.qmd로 그 글만 렌더링하고 _freeze/도 같이 커밋합니다. Actions에는 Python이 없어서 대신 해 주지 않습니다.

License

  • Source Code: This blog's source code is licensed under the MIT License.
  • Content & Articles: All written posts, articles, and media are licensed under CC BY-NC-SA 4.0.

About

github.io blog

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages