Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ recall-template Public template

這是一個專為台灣 2025 年罷免活動設計的網站模板,使用 Jekyll 搭配 GitHub Pages 快速建置。 只需置換資料,不必寫程式,簡單步驟即可創建一個專屬於特定罷免案的宣傳網站。

License

Notifications You must be signed in to change notification settings

bestian/recall-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

罷免網站模板 (Recall Campaign Website Template)

這是一個專為台灣 2025 年罷免活動設計的網站模板,使用 Jekyll 搭配 GitHub Pages 快速建置。 只需置換資料,不必寫程式,簡單步驟即可創建一個專屬於特定罷免案的宣傳網站。

參考如何在本機端開發Jekyll專案

🚀 快速開始(使用 GitHub)

  1. 使用模板創建儲存庫

    • 點擊 GitHub 頁面上方的 "Use this template" 綠色按鈕
    • 命名新儲存庫,建議格式:recall-xxx(xxx 為立委姓名或選區)
    • 選擇 "Public" 儲存庫,點擊 "Create repository from template"
  2. 設定儲存庫

    • 在新儲存庫的 Settings → Pages 中,將 Source 設為 gh-pages 分支
    • 約 1-3 分鐘後,GitHub 會提供一個網址,格式為 https://你的用戶名.github.io/recall-xxx
  3. 編輯 _data/site_data.yml

    • 在儲存庫中找到 _data/site_data.yml 檔案並編輯
    • 修改以下關鍵設定:
# 罷免資訊
group_name: "罷免缺衣不可 - 謝衣鳯罷免團隊"  # 罷免團體名稱
legislator: "謝衣鳳"                 # 被罷免立委姓名
district: "台北市第X選區"          # 選區名稱
boss: "傅崐萁"                # 背後人物名稱

# 社群媒體連結(不需要的可刪除或留空)
social:
  instagram: https://www.instagram.com/bamain_c1feng
  threads: https://www.threads.net/@bamain_c1feng
  facebook: https://www.facebook.com/groups/829936155897331/

# 地圖嵌入連結(從 Google Maps 獲取)
map_src: "https://www.google.com/maps/d/embed?mid=YOUR_MAP_ID"

# 自訂連結
links:
  - url: https://forms.gle/poDwfnG1FQKfgWBY6
    label: 志工報名表

完成設定後,網站會自動更新,不需要重新啟動Jekyll!

🖨 列印功能

網站內建的列印功能會自動優化版面配置:

  • 隱藏非必要資訊(跑馬燈、地圖等)
  • 顯示 QR Code
  • 調整排版適合紙張印刷

測試列印:點擊網站上的「列印宣傳單」按鈕,或使用瀏覽器的列印功能。

🧩 進階自訂(選用)

若有更深入的自訂需求,可以:

  1. 克隆儲存庫到本地

    git clone https://github.com/你的用戶名/recall-xxx.git
    cd recall-xxx
    
  2. 安裝 Jekyll 環境(需要 Ruby)

    gem install jekyll
    
  3. 本地運行測試(支持自動重載)

    jekyll serve
    
  4. 編輯 _data/site_data.yml 來更新網站配置

    • 變更會立即生效,不需要重啟 Jekyll
  5. 編輯網站模板(_layouts/default.html)和樣式表(index.cssprint.css

  6. 提交並推送變更

    git add .
    git commit -m "自訂網站"
    git push
    

📋 注意事項

  • 網站自動顯示 15 天倒數計時,提醒罷免行動的緊迫性
  • GitHub Pages 有流量限制,若預期訪問量極大,建議考慮其他託管服務
  • 請確保所有內容符合選罷法規定,避免觸法

🤝 貢獻與問題回報

發現問題或有改進建議?歡迎在 GitHub 提交 Issue 或 Pull Request。

📜 授權

本專案採用 MIT 授權條款,歡迎自由使用與修改。


此罷免網站模板由公民開發者貢獻,希望協助台灣公民社會更有效地組織罷免行動。若有疑問,請透過 GitHub Issues 聯絡我們。

About

這是一個專為台灣 2025 年罷免活動設計的網站模板,使用 Jekyll 搭配 GitHub Pages 快速建置。 只需置換資料,不必寫程式,簡單步驟即可創建一個專屬於特定罷免案的宣傳網站。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •