Skip to content

Commit

Permalink
Update site domain
Browse files Browse the repository at this point in the history
  • Loading branch information
rschiang committed Sep 28, 2020
1 parent d8eaa73 commit f4f9b41
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 59 deletions.
16 changes: 8 additions & 8 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://rschiang.github.io/ntusc-statute/styles/common.css" />
<link rel="stylesheet" href="https://rschiang.github.io/ntusc-statute/styles/print.css" media="print" />
<link rel="stylesheet" href="https://rschiang.github.io/ntusc-statute/styles/screen.css" media="screen" />
<link rel="stylesheet" href="https://poren.tw/ntusc-statute/styles/common.css" />
<link rel="stylesheet" href="https://poren.tw/ntusc-statute/styles/print.css" media="print" />
<link rel="stylesheet" href="https://poren.tw/ntusc-statute/styles/screen.css" media="screen" />
<title>國立臺灣大學學生會簡明法規彙編</title>
<meta name="author" content="國立臺灣大學開源社" />
<meta name="description" content="收錄國立臺灣大學學生會自治規程、學生法院解釋,以及相關之校級與國家法規。" />
<meta property="og:image" content="https://rschiang.github.io/ntusc-statute/assets/social-cover.png" />
<meta property="og:image" content="https://poren.tw/ntusc-statute/assets/social-cover.png" />
<meta property="og:type" content="website" />
</head>
<body class="page404">
<hgroup class="gray book title">
<a href="https://rschiang.github.io/ntusc-statute/">
<a href="https://poren.tw/ntusc-statute/">
<span class="secondary">國立臺灣大學學生會</span>
<span>簡明法規彙編</span>
</a>
</hgroup>
<div id="readme">
<header>找不到頁面</header>
<p>這篇法規可能已經更名、或是移動到其他章節了;關於線上版《簡明法規彙編》收錄的範圍,還請參照本書<a href="https://rschiang.github.io/ntusc-statute/">目錄頁</a></p>
<p>這篇法規可能已經更名、或是移動到其他章節了;關於線上版《簡明法規彙編》收錄的範圍,還請參照本書<a href="https://poren.tw/ntusc-statute/">目錄頁</a></p>
<h5>備註</h5>
<p>自紙本二版(<a href="https://github.com/rschiang/ntusc-statute/commits/106-1">106-1</a>)起,為了便於參考引用、不受紙本版章節調動影響,改取法規名稱的「<abbr title="hash value">雜湊值</abbr>」作為該法規的編號;若所欲瀏覽的是舊連結、而線上版《簡明法規彙編》仍有收錄該法規,則將自動轉址至新頁面。</p>
</div>
<footer>
<a href="https://ntuosc.org/" rel="external" target="_blank" class="ntuosc-logo">
<img src="https://rschiang.github.io/ntusc-statute/assets/ntuosc.svg" width="192" height="79.2" alt="國立臺灣大學開源社發行 / Published by NTU Open Source Community">
<img src="https://poren.tw/ntusc-statute/assets/ntuosc.svg" width="192" height="79.2" alt="國立臺灣大學開源社發行 / Published by NTU Open Source Community">
</a>
</footer>
<script>
Expand Down Expand Up @@ -97,7 +97,7 @@ <h5>備註</h5>
}
}
// Fallback redirection to index
window.location = 'https://rschiang.github.io/ntusc-statute/';
window.location = 'https://poren.tw/ntusc-statute/';
});
</script>
</body>
Expand Down
45 changes: 1 addition & 44 deletions docs/styles/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,47 +189,4 @@ hgroup.gray.book.title, footer {
}

/* Web font fallback for mobile devices, from Google Font Early Access */
@font-face {
font-family: 'Noto Sans TC';
font-style: normal;
font-weight: 400;
src: url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Regular.woff2) format('woff2'),
url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Regular.woff) format('woff'),
url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Regular.otf) format('opentype');
}
@font-face {
font-family: 'Noto Sans TC';
font-style: normal;
font-weight: 500;
src: url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Medium.woff2) format('woff2'),
url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Medium.woff) format('woff'),
url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Medium.otf) format('opentype');
}
@font-face {
font-family: 'Noto Sans TC';
font-style: normal;
font-weight: 700;
src: url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Bold.woff2) format('woff2'),
url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Bold.woff) format('woff'),
url(//fonts.gstatic.com/ea/notosanstc/v1/NotoSansTC-Bold.otf) format('opentype');
}
@font-face {
font-family: 'cwTeXKai';
font-style: normal;
font-weight: 500;
src: url(//fonts.gstatic.com/ea/cwtexkai/v3/cwTeXKai-zhonly.eot);
src: url(//fonts.gstatic.com/ea/cwtexkai/v3/cwTeXKai-zhonly.eot?#iefix) format('embedded-opentype'),
url(//fonts.gstatic.com/ea/cwtexkai/v3/cwTeXKai-zhonly.woff2) format('woff2'),
url(//fonts.gstatic.com/ea/cwtexkai/v3/cwTeXKai-zhonly.woff) format('woff'),
url(//fonts.gstatic.com/ea/cwtexkai/v3/cwTeXKai-zhonly.ttf) format('truetype');
}
@font-face {
font-family: 'cwTeXYen';
font-style: normal;
font-weight: 500;
src: url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.eot);
src: url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.eot?#iefix) format('embedded-opentype'),
url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.woff2) format('woff2'),
url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.woff) format('woff'),
url(//fonts.gstatic.com/ea/cwtexyen/v3/cwTeXYen-zhonly.ttf) format('truetype');
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&family=Noto+Serif+TC:wght@400;700&display=swap');
6 changes: 3 additions & 3 deletions statute/online.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"author": "國立臺灣大學開源社",
"description": "收錄國立臺灣大學學生會自治規程、學生法院解釋,以及相關之校級與國家法規。",
"og:type": "website",
"og:image": "https://rschiang.github.io/ntusc-statute/assets/social-cover.png"
"og:image": "https://poren.tw/ntusc-statute/assets/social-cover.png"
},
"base_url": "https://rschiang.github.io/ntusc-statute/",
"base_url": "https://poren.tw/ntusc-statute/",
"source": "source/laws/",
"output": "docs/",
"generator": "online",
Expand Down Expand Up @@ -65,7 +65,7 @@
"og:site_name": "國立臺灣大學學生會簡明法規彙編",
"author": "國立臺灣大學開源社",
"description": "《簡明法規彙編》收錄自治規程、規則條文、以及相關之公眾法規,並提供紙本與線上版本。",
"og:image": "https://rschiang.github.io/ntusc-statute/assets/social-cover.png"
"og:image": "https://poren.tw/ntusc-statute/assets/social-cover.png"
},
"version_ref": {
"statute": ".git/modules/source/HEAD",
Expand Down
4 changes: 2 additions & 2 deletions statute/online/footer.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<footer>
<a href="https://ntuosc.org/" rel="external" target="_blank" class="ntuosc-logo">
<img src="https://rschiang.github.io/ntusc-statute/assets/ntuosc.svg" width="192" height="79.2" alt="國立臺灣大學開源社發行 / Published by NTU Open Source Community">
<img src="https://poren.tw/ntusc-statute/assets/ntuosc.svg" width="192" height="79.2" alt="國立臺灣大學開源社發行 / Published by NTU Open Source Community">
</a>
</footer>
<script src="https://rschiang.github.io/ntusc-statute/version.js"></script>
<script src="https://poren.tw/ntusc-statute/version.js"></script>
2 changes: 1 addition & 1 deletion statute/online/header.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<hgroup class="gray book title">
<a href="https://rschiang.github.io/ntusc-statute/">
<a href="https://poren.tw/ntusc-statute/">
<span class="secondary">國立臺灣大學學生會</span>
<span>簡明法規彙編</span>
</a>
Expand Down
2 changes: 1 addition & 1 deletion statute/online/header_hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div id="readme">
<h5>前言</h5>
<figure>
<img src="//rschiang.github.io/ntusc-statute/assets/book-cover.png" alt="《簡明法規彙編》封面" />
<img src="https://poren.tw/ntusc-statute/assets/book-cover.png" alt="《簡明法規彙編》封面" />
</figure>
<p><abbr title="國立臺灣大學學生會簡明法規彙編">簡明法規彙編</abbr>》為<a href="https://ntuosc.org" rel="external">臺灣大學開源社</a>於 105 學年度第 2 學期首度發行之法規工具書。透過解析學生代表大會秘書處用以刊印正式<a href="https://github.com/ntu-student-congress/tortue" rel="external">法規彙編</a>的原始條文與學生法院解釋,轉換成<abbr title="Document Object Model (DOM)">文件物件模型</abbr>後,再依據 <a href="https://www.w3.org/TR/css3-page/" rel="external" title="CSS3 Paged Media Module">CSS3 分頁媒體模組</a>標準產生可以線上閱覽、並即可列印 (print-ready) 的 HTML 文件;</p>
<p><strong>簡單來說,就是透過程式精簡條文,用「網頁」這種大家習以為常的開放標準排版,並產生具有印刷水平、又同時可以線上閱讀的「民間版」法典。</strong>除發行紙本版本外,亦可於此網站瀏覽線上版本;用以解析、排版之程式原始碼,亦於 <a href="https://github.com/rschiang/ntusc-statute">GitHub</a> 上以 <abbr title="GNU General Public License Version 3">GNU GPLv3</abbr> 公眾授權釋出。</p>
Expand Down

0 comments on commit f4f9b41

Please sign in to comment.