Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PDIS/web-jekyll

Repository files navigation

建置環境 Development

Windows

  1. git clone --recurse-submodules https://github.com/PDIS/web-jekyll
  2. install Ruby choco install ruby
  3. install RubyInstaller Devkit ridk install (3 - MSYS2 and MINGW development toolchain)
  4. gem install bundler
  5. bundle install
  6. run jekyll serve or jekyll serve --drafts
  7. open browser to 127.0.0.1:4000

macOS

  1. git clone --recurse-submodules https://github.com/PDIS/web-jekyll
  2. (削除) install rvm & ruby (削除ここまで) (macos should have ruby preinstalled)
  3. bundle install --path vendor/bundle
  4. run bundle exec jekyll serve or bundle exec jekyll serve --drafts
  5. open browser to 127.0.0.1:4000

檔案結構 Structure

單篇文章 Text

  • /_posts/
    • 日誌 (category: blog)
    • 專案 (category: project)

站內資料 Data

  • /_data/
    • features.yml
    • nav.yml
      • 導覽列項目
    • authors.yml
      • 關於我們
    • informations.yml
      • 置底連結文字
    • tracks.json
      • 工作紀錄頁面
    • tools.yml
      • 工具頁面
  • /_config.yml
    • 首頁大標資訊

頁面版型 Page

  • /_layouts/
  • /_includes/
    • page 可用之版型
  • /pages/
    • 各頁 page
  • /index.html
    • 首頁 page

其他 Others

  • 支援 i18n

About

a Jekyll version of PDIS site https://pdis.nat.gov.tw

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 35

AltStyle によって変換されたページ (->オリジナル) /