mirror of
https://github.com/lupyuen/lupyuen.github.io.git
synced 2025-01-13 02:08:32 +08:00
Expand all sections
This commit is contained in:
parent
15f2b3cb23
commit
298df64108
5 changed files with 53 additions and 21 deletions
40
index.html
40
index.html
|
@ -968,7 +968,7 @@ ul.courses li:hover {
|
|||
</section>
|
||||
<section class="work-item">
|
||||
|
||||
<input id="work-item-1" type="checkbox" class="toggle-item" />
|
||||
<input id="work-item-1" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="work-item-1"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1004,7 +1004,7 @@ ul.courses li:hover {
|
|||
</section>
|
||||
<section class="work-item">
|
||||
|
||||
<input id="work-item-2" type="checkbox" class="toggle-item" />
|
||||
<input id="work-item-2" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="work-item-2"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1036,7 +1036,7 @@ ul.courses li:hover {
|
|||
</section>
|
||||
<section class="work-item">
|
||||
|
||||
<input id="work-item-3" type="checkbox" class="toggle-item" />
|
||||
<input id="work-item-3" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="work-item-3"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1066,7 +1066,7 @@ ul.courses li:hover {
|
|||
</section>
|
||||
<section class="work-item">
|
||||
|
||||
<input id="work-item-4" type="checkbox" class="toggle-item" />
|
||||
<input id="work-item-4" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="work-item-4"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1207,7 +1207,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-1" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-1" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-1"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1233,7 +1233,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-2" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-2" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-2"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1259,7 +1259,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-3" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-3" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-3"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1285,7 +1285,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-4" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-4" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-4"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1311,7 +1311,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-5" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-5" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-5"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1337,7 +1337,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-6" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-6" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-6"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1363,7 +1363,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-7" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-7" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-7"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1389,7 +1389,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-8" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-8" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-8"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1415,7 +1415,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-9" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-9" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-9"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1441,7 +1441,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-10" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-10" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-10"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1467,7 +1467,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-11" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-11" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-11"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1493,7 +1493,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-12" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-12" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-12"></label>
|
||||
|
||||
<header>
|
||||
|
@ -1519,7 +1519,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-13" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-13" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-13"></label>
|
||||
|
||||
<header>
|
||||
|
@ -2847,7 +2847,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-76" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-76" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-76"></label>
|
||||
|
||||
<header>
|
||||
|
@ -2978,7 +2978,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-82" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-82" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-82"></label>
|
||||
|
||||
<header>
|
||||
|
@ -3004,7 +3004,7 @@ ul.courses li:hover {
|
|||
</div>
|
||||
</section>
|
||||
<section class="publication-item">
|
||||
<input id="publication-item-83" type="checkbox" class="toggle-item" />
|
||||
<input id="publication-item-83" type="checkbox" class="toggle-item" checked="checked" />
|
||||
<label for="publication-item-83"></label>
|
||||
|
||||
<header>
|
||||
|
|
BIN
lupyuen.pdf
BIN
lupyuen.pdf
Binary file not shown.
|
@ -1 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Generate resume in HTML format
|
||||
|
||||
set -e # Exit when any command fails.
|
||||
set -x # Echo all commands.
|
||||
|
||||
node node_modules/resume-cli export index.html --format html --theme stackoverflow
|
||||
|
|
|
@ -1 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# Generate resume in PDF format
|
||||
|
||||
set -e # Exit when any command fails.
|
||||
set -x # Echo all commands.
|
||||
|
||||
node node_modules/resume-cli export lupyuen.pdf --format pdf --theme stackoverflow
|
||||
|
|
|
@ -1,5 +1,25 @@
|
|||
#!/usr/bin/env bash
|
||||
# Generate resume in HTML, PDF and RSS formats
|
||||
|
||||
set -e # Exit when any command fails.
|
||||
set -x # Echo all commands.
|
||||
|
||||
# Generate HTML and PDF
|
||||
scripts/gen-resume-html.sh
|
||||
scripts/gen-resume-pdf.sh
|
||||
|
||||
cd json-to-rss
|
||||
# Fix HTML formatting by expanding all sections:
|
||||
# Change
|
||||
# class="toggle-item" />
|
||||
# To
|
||||
# class="toggle-item" checked="checked" />
|
||||
cat index.html \
|
||||
| sed 's/class="toggle-item" \/>/class="toggle-item" checked="checked" \/>/' \
|
||||
>index2.html
|
||||
cp index2.html index.html
|
||||
rm index2.html
|
||||
|
||||
# Generate RSS feed
|
||||
pushd json-to-rss
|
||||
cargo run >../rss.xml
|
||||
popd
|
||||
|
|
Loading…
Reference in a new issue