diff options
| author | kj_sh604 | 2026-02-22 02:52:34 -0500 |
|---|---|---|
| committer | kj_sh604 | 2026-02-22 02:52:34 -0500 |
| commit | 4e842852b13d84daede1b6b5db5c592fab4d3ff5 (patch) | |
| tree | 49ed34ba76cef520ac4f4d90f24e222c35726cc7 /src/output | |
| parent | 8bc0dd46ef02e0bc179a492bbf5b33f223c3d1bb (diff) | |
refactor: images fix
Diffstat (limited to 'src/output')
| -rw-r--r-- | src/output/header.tex | 13 | ||||
| -rw-r--r-- | src/output/index.php | 16 |
2 files changed, 26 insertions, 3 deletions
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> |
