diff options
-rwxr-xr-x | _assets/css/style.css | 33 | ||||
-rw-r--r-- | _assets/images/imgnotfound.jpg | bin | 0 -> 9337 bytes | |||
-rw-r--r-- | _assets/images/left-arrow.gif | bin | 0 -> 188 bytes | |||
-rw-r--r-- | _assets/images/right-arrow.gif | bin | 0 -> 187 bytes | |||
-rw-r--r-- | _assets/images/top-arrow.gif | bin | 0 -> 195 bytes | |||
-rw-r--r-- | _header.t.html | 2 | ||||
-rw-r--r-- | _pages/index.html | 2 | ||||
-rwxr-xr-x | _pages/travels/index.html | 4 | ||||
-rwxr-xr-x | _pages/travels/pictures/index.html | 27 | ||||
-rwxr-xr-x | sswg.sh | 7 |
10 files changed, 40 insertions, 35 deletions
diff --git a/_assets/css/style.css b/_assets/css/style.css index d5ca676..4517932 100755 --- a/_assets/css/style.css +++ b/_assets/css/style.css @@ -85,3 +85,36 @@ samp { display: block; line-height: 115%; } + +/* Photo book styles */ +div.photobook { + border: 1px solid #aaa; + margin: 10px; + float: left; + text-align: center; +} + +div.photobook:hover { + border: 1px solid #cfba58; +} + +div.desc { + padding: 10px; + text-align: center; + font-size: 14px; +} + +img.thumb { + margin: 5px; + border: 1px solid #aaa; +} + +img.thumb:hover { + border: 1px solid #cfba58; +} + +.clearfix:after { + content: ""; + display: table; + clear: both; +} diff --git a/_assets/images/imgnotfound.jpg b/_assets/images/imgnotfound.jpg Binary files differnew file mode 100644 index 0000000..c492d76 --- /dev/null +++ b/_assets/images/imgnotfound.jpg diff --git a/_assets/images/left-arrow.gif b/_assets/images/left-arrow.gif Binary files differnew file mode 100644 index 0000000..e22cf71 --- /dev/null +++ b/_assets/images/left-arrow.gif diff --git a/_assets/images/right-arrow.gif b/_assets/images/right-arrow.gif Binary files differnew file mode 100644 index 0000000..0d9d4c8 --- /dev/null +++ b/_assets/images/right-arrow.gif diff --git a/_assets/images/top-arrow.gif b/_assets/images/top-arrow.gif Binary files differnew file mode 100644 index 0000000..9e134b9 --- /dev/null +++ b/_assets/images/top-arrow.gif diff --git a/_header.t.html b/_header.t.html index 1b4d3bf..3dca264 100644 --- a/_header.t.html +++ b/_header.t.html @@ -21,7 +21,7 @@ <a href="/index.html">Home</a> | <a href="/notes">My notes</a> | # <a href="/computing.html">Computing</a> | - <a href="/travels">Travels</a> | + <a href="/pictures">Pictures</a> | <a href="/email.html">Email</a> </nav> </div> diff --git a/_pages/index.html b/_pages/index.html index 62ea2dd..a7d8b28 100644 --- a/_pages/index.html +++ b/_pages/index.html @@ -13,7 +13,7 @@ DESCRIPTION="Andrea Corsini's personal website" problems.</p> <p>This website gathers <a href="/notes">my notes</a>, - <a href="/travels/pictures">photos</a>, and personal self-hosted services, + <a href="/pictures">photos</a>, and personal self-hosted services, such as email, <a href="https://git.andreacorsini.xyz">git server</a>, <a href="https://meet.andreacorsini.xyz">Jitsi</a> instance, calendar, Matrix and others to come.</p> diff --git a/_pages/travels/index.html b/_pages/travels/index.html index 8755893..ad1183f 100755 --- a/_pages/travels/index.html +++ b/_pages/travels/index.html @@ -2,8 +2,8 @@ TITLE="Andrea Corsini's travels" DESCRIPTION="Andrea Corsini's travels and photos" --- <h2>Travels</h2> -<p><a href="/travels/pictures"><img src="/images/camera-2-icon.png" /></a> Browse - my photos in the <a href="/travels/pictures">travel pictures</a> folder. +<p><a href="/pictures"><img src="/images/camera-2-icon.png" /></a> Browse + my photos in the <a href="/pictures">travel pictures</a> folder. Although I'm not an expert photographer, I like to share some pictures from my trips.</p> <br/> diff --git a/_pages/travels/pictures/index.html b/_pages/travels/pictures/index.html deleted file mode 100755 index e1cfdc6..0000000 --- a/_pages/travels/pictures/index.html +++ /dev/null @@ -1,27 +0,0 @@ -TITLE="Listing of Pictures" -DESCRIPTION="Listing of Pictures" ---- -<h2>Listing of Picture Thumbnails</h2> -<p> -<!-- Generated by thumbnail_page.pl by jcv http://www.netpurgatory.com/ --> -<a href="../">Go back</a><br /><br /> -<a href="./index2.html">./</a> -<br /> -<a href="./china/index.html">china</a> -<br /> -<a href="./estonia/index.html">estonia</a> -<br /> -<a href="./estonia/tallin/index.html">estonia/tallin</a> -<br /> -<a href="./finland/index.html">finland</a> -<br /> -<a href="./finland/porvo/index.html">finland/porvo</a> -<br /> -<a href="./finland/tampere/index.html">finland/tampere</a> -<br /> -<a href="./taiwan/index.html">taiwan</a> -<br /> -<a href="./taiwan/jiufeng/index.html">taiwan/jiufeng</a> -<br /> -<a href="./taiwan/taipei/index.html">taiwan/taipei</a> -<br /> @@ -14,11 +14,10 @@ mkdir "$SSWG_OUTPUT_DIR" cp -r "$SSWG_ASSETS_DIR"/* "$SSWG_OUTPUT_DIR"/. # Generate HTML pages -for page in $(find "$SSWG_PAGES_DIR" -iname '*.html' -o \ - -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png'); +find "$SSWG_PAGES_DIR" -iname '*.html' -o -iname '*.jpg' -o -iname '*.jpeg' -o -iname '*.png' | while read -r page; do filename="$SSWG_OUTPUT_DIR/${page##$SSWG_PAGES_DIR/}" - mkdir -p "`dirname $filename`" + mkdir -p "$(dirname "$filename")" if [ "${filename##*.}" = "html" ]; then # prepose header @@ -45,6 +44,6 @@ do # useful e.g. with <pre> tags sed -i'' "s/^[ \t]*|//g" "$filename" # remove else - cp $page $filename + cp "$page" "$filename" fi; done; |