aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/VERSION2
-rw-r--r--src/output/header.tex13
-rw-r--r--src/output/index.php16
3 files changed, 27 insertions, 4 deletions
diff --git a/src/VERSION b/src/VERSION
index 98781e0..7676773 100644
--- a/src/VERSION
+++ b/src/VERSION
@@ -1 +1 @@
-2026.01.13-2226
+2026.02.22-0252
diff --git a/src/output/header.tex b/src/output/header.tex
index e5a5c37..92c6c74 100644
--- a/src/output/header.tex
+++ b/src/output/header.tex
@@ -1,2 +1,15 @@
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
+\let\origfigure\figure
+\let\endorigfigure\endfigure
+\renewenvironment{figure}{
+ \origfigure[H]
+}{
+ \endorigfigure
+}
+\usepackage{graphicx}
+\usepackage[export]{adjustbox}
+\let\origincludegraphics\includegraphics
+\renewcommand{\includegraphics}[2][]{%
+ \origincludegraphics[max width=\textwidth,max height=0.8\textheight,keepaspectratio,#1]{#2}%
+} \ No newline at end of file
diff --git a/src/output/index.php b/src/output/index.php
index 9f683d1..47d8843 100644
--- a/src/output/index.php
+++ b/src/output/index.php
@@ -1,11 +1,21 @@
<!DOCTYPE html>
<html>
<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <meta http-equiv='cache-control' content='no-cache'>
+ <meta http-equiv='expires' content='0'>
+ <meta http-equiv='pragma' content='no-cache'>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
- <meta http-equiv="refresh" content="0; URL='https://youtu.be/XGxIE1hr0w4'" />
- <title>Art and Assets</title>
+ <link rel="icon" href="/img/site-icon.webp" type="image/x-icon">
+ <link rel="stylesheet" href="/css/style.css">
+ <title>error producing pdf</title>
</head>
<body>
- <p>If you are not redirected, <a href="https://youtu.be/XGxIE1hr0w4">click here for folder contents</a>.</p>
+ <h1>error producing pdf</h1>
+ <div class="error-box">
+ <p><strong>sorry, there was an error generating your pdf.</strong></p>
+ <p>please check your input and try again.</p>
+ </div>
</body>
</html>