From cf95484888ec60e78b9f4617d1f6b31535e75049 Mon Sep 17 00:00:00 2001 From: Michael Murtaugh Date: Mon, 11 Dec 2023 18:50:32 +0100 Subject: [PATCH] fix bo's pdf link --- Makefile | 5 ++ index.html | 2 +- index_thesis.html | 111 +++++++++++++++------------- scripts/templates/index_thesis.html | 13 +++- 4 files changed, 77 insertions(+), 54 deletions(-) diff --git a/Makefile b/Makefile index 329037e..150927c 100644 --- a/Makefile +++ b/Makefile @@ -15,3 +15,8 @@ index_titles.html: merge.json scripts/templates/index_titles.html scripts/index_ index_thesis.html: merge.json scripts/templates/index_thesis.html scripts/index_new.py python3 scripts/index_new.py index_thesis.html index_thesis.html +%.cover.jpg: %.pdf + gs -dSAFER -r600 -sDEVICE=jpeg -dFirstPage=1 -dLastPage=1 -o $@ $< + mogrify -resize 640x $@ + + diff --git a/index.html b/index.html index 0eb0c04..f0d4e98 100644 --- a/index.html +++ b/index.html @@ -316,7 +316,7 @@

Bohye Woo

Parallel Colonialism

-

PDF

+

PDF

Paloma Garcia

diff --git a/index_thesis.html b/index_thesis.html index 4b8ae90..aaf12cf 100644 --- a/index_thesis.html +++ b/index_thesis.html @@ -21,64 +21,73 @@ body { } a { text-decoration: none; color: black } a:hover { text-decoration: underline; color: blue; } +#covers { + display: flex; + flex-wrap: wrap; +} .thesis { - float: left; + width: 300px; margin: 10px; } +.thesis img { + width: 100% +} + diff --git a/scripts/templates/index_thesis.html b/scripts/templates/index_thesis.html index 58194ac..b01110b 100644 --- a/scripts/templates/index_thesis.html +++ b/scripts/templates/index_thesis.html @@ -21,16 +21,25 @@ body { } a { text-decoration: none; color: black } a:hover { text-decoration: underline; color: blue; } +#covers { + display: flex; + flex-wrap: wrap; +} .thesis { - float: left; + width: 300px; margin: 10px; } +.thesis img { + width: 100% +} +
{% for project in projects %} - +
{%- endfor %} +
\ No newline at end of file