diff options
| -rw-r--r-- | .DS_Store | bin | 8196 -> 6148 bytes | |||
| -rwxr-xr-x | main.py | 6 | ||||
| -rw-r--r-- | static/.DS_Store | bin | 0 -> 6148 bytes | |||
| -rw-r--r-- | static/logo/FirstInitialLogo.svg | 66 | ||||
| -rw-r--r-- | static/logo/FullNameLogo.svg | 77 | ||||
| -rw-r--r-- | static/logo/favicon.png | bin | 0 -> 2494 bytes | |||
| -rw-r--r-- | static/logo/favicon.svg | 73 | ||||
| -rw-r--r-- | static/logo/favicon16.png | bin | 0 -> 777 bytes | |||
| -rw-r--r-- | static/logo/favicon32.png | bin | 0 -> 1676 bytes | |||
| -rwxr-xr-x | templates/404.html | 4 | ||||
| -rwxr-xr-x | templates/articletemplate.html | 4 | ||||
| -rwxr-xr-x | templates/template.html | 4 |
12 files changed, 228 insertions, 6 deletions
| Binary files differ @@ -48,9 +48,9 @@ def get_rss(): def get_css(file): return send_file(f"static/css/{file}", mimetype='text/css') -@app.route('/favicon.ico') -def get_favicon(): - return send_file("static/favicon.ico", mimetype='image/ico') +@app.route('/icons/<image>') +def get_favicon(image): + return send_file(f"static/logo/{image}", mimetype='image/png') @app.route('/robots.txt') def get_robots(): diff --git a/static/.DS_Store b/static/.DS_Store Binary files differnew file mode 100644 index 0000000..4ce87e9 --- /dev/null +++ b/static/.DS_Store diff --git a/static/logo/FirstInitialLogo.svg b/static/logo/FirstInitialLogo.svg new file mode 100644 index 0000000..69d19c4 --- /dev/null +++ b/static/logo/FirstInitialLogo.svg @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + width="210mm" + height="297mm" + viewBox="0 0 210 297" + version="1.1" + id="svg1" + inkscape:export-filename="bitmap.svg" + inkscape:export-xdpi="34.208755" + inkscape:export-ydpi="34.208755" + inkscape:version="1.4 (e7c3feb1, 2024-10-09)" + sodipodi:docname="FirstInitialLogo.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <sodipodi:namedview + id="namedview1" + pagecolor="#ffffff" + bordercolor="#000000" + borderopacity="1" + inkscape:showpageshadow="0" + inkscape:pageopacity="0" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#282828" + inkscape:document-units="mm" + inkscape:zoom="0.2296605" + inkscape:cx="792.47411" + inkscape:cy="846.90228" + inkscape:window-width="1464" + inkscape:window-height="916" + inkscape:window-x="0" + inkscape:window-y="38" + inkscape:window-maximized="0" + inkscape:current-layer="layer1" /> + <defs + id="defs1"> + <rect + x="307.8207" + y="245.11648" + width="380.50058" + height="350.57357" + id="rect6" /> + </defs> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <path + id="path5" + style="fill:#00558e;fill-opacity:1;stroke-width:0.264583" + d="M 105,91.56446 A 56.935547,56.935547 0 0 0 48.064459,148.5 56.935547,56.935547 0 0 0 105,205.43554 56.935547,56.935547 0 0 0 161.93554,148.5 56.935547,56.935547 0 0 0 105,91.56446 Z m 0,6.975801 A 49.959995,49.959995 0 0 1 154.96025,148.5 49.959995,49.959995 0 0 1 105,198.46026 49.959995,49.959995 0 0 1 55.040259,148.5 49.959995,49.959995 0 0 1 105,98.540261 Z" /> + <text + xml:space="preserve" + transform="matrix(0.26458333,0,0,0.26458333,-0.25662302,42.172623)" + id="text6" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:400px;line-height:0.9;font-family:'Noto Sans Adlam';-inkscape-font-specification:'Noto Sans Adlam';text-align:start;writing-mode:lr-tb;direction:ltr;white-space:pre;shape-inside:url(#rect6);display:inline;fill:#00558e;fill-opacity:1"><tspan + x="307.82031" + y="539.06726" + id="tspan2"><tspan + style="font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans'" + id="tspan1">J</tspan></tspan></text> + </g> +</svg> diff --git a/static/logo/FullNameLogo.svg b/static/logo/FullNameLogo.svg new file mode 100644 index 0000000..b2e4c70 --- /dev/null +++ b/static/logo/FullNameLogo.svg @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + width="210mm" + height="297mm" + viewBox="0 0 210 297" + version="1.1" + id="svg1" + inkscape:export-filename="bitmap.svg" + inkscape:export-xdpi="34.208755" + inkscape:export-ydpi="34.208755" + inkscape:version="1.4 (e7c3feb1, 2024-10-09)" + sodipodi:docname="FullNameLogo.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <sodipodi:namedview + id="namedview1" + pagecolor="#ffffff" + bordercolor="#000000" + borderopacity="1" + inkscape:showpageshadow="0" + inkscape:pageopacity="0" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#282828" + inkscape:document-units="mm" + inkscape:zoom="0.2296605" + inkscape:cx="1637.1993" + inkscape:cy="794.65124" + inkscape:window-width="1464" + inkscape:window-height="916" + inkscape:window-x="0" + inkscape:window-y="38" + inkscape:window-maximized="0" + inkscape:current-layer="layer1" /> + <defs + id="defs1"> + <rect + x="307.8207" + y="245.11648" + width="380.50058" + height="350.57357" + id="rect6" /> + </defs> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <path + id="path5" + style="fill:#00558e;fill-opacity:1;stroke-width:0.264583" + d="M 105,91.56446 A 56.935547,56.935547 0 0 0 48.064459,148.5 56.935547,56.935547 0 0 0 105,205.43554 56.935547,56.935547 0 0 0 161.93554,148.5 56.935547,56.935547 0 0 0 105,91.56446 Z m 0,6.975801 A 49.959995,49.959995 0 0 1 154.96025,148.5 49.959995,49.959995 0 0 1 105,198.46026 49.959995,49.959995 0 0 1 55.040259,148.5 49.959995,49.959995 0 0 1 105,98.540261 Z" /> + <text + xml:space="preserve" + transform="matrix(0.26458333,0,0,0.26458333,-0.25662302,42.172623)" + id="text6" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:400px;line-height:0.9;font-family:'Noto Sans Adlam';-inkscape-font-specification:'Noto Sans Adlam';text-align:start;writing-mode:lr-tb;direction:ltr;white-space:pre;shape-inside:url(#rect6);fill:#00558e;fill-opacity:1"><tspan + x="307.82031" + y="539.06726" + id="tspan3"><tspan + style="font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans'" + id="tspan1">J</tspan></tspan></text> + <text + xml:space="preserve" + style="font-size:105.833px;line-height:0.9;font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans';text-align:start;writing-mode:lr-tb;direction:ltr;text-anchor:start;fill:#00558e;stroke-width:0.264583" + x="171.0816" + y="187.02321" + id="text2"><tspan + sodipodi:role="line" + id="tspan2" + style="stroke-width:0.264583" + x="171.0816" + y="187.02321">Jacob McDonnell</tspan></text> + </g> +</svg> diff --git a/static/logo/favicon.png b/static/logo/favicon.png Binary files differnew file mode 100644 index 0000000..e403c28 --- /dev/null +++ b/static/logo/favicon.png diff --git a/static/logo/favicon.svg b/static/logo/favicon.svg new file mode 100644 index 0000000..086ce56 --- /dev/null +++ b/static/logo/favicon.svg @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + width="210mm" + height="297mm" + viewBox="0 0 210 297" + version="1.1" + id="svg1" + inkscape:export-filename="logo.png" + inkscape:export-xdpi="10.706844" + inkscape:export-ydpi="10.706844" + inkscape:version="1.4 (e7c3feb1, 2024-10-09)" + sodipodi:docname="logo.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg"> + <sodipodi:namedview + id="namedview1" + pagecolor="#ffffff" + bordercolor="#000000" + borderopacity="1" + inkscape:showpageshadow="0" + inkscape:pageopacity="0" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#282828" + inkscape:document-units="mm" + inkscape:zoom="0.82976258" + inkscape:cx="340.45883" + inkscape:cy="563.41418" + inkscape:window-width="1464" + inkscape:window-height="916" + inkscape:window-x="0" + inkscape:window-y="38" + inkscape:window-maximized="0" + inkscape:current-layer="layer1" + inkscape:export-bgcolor="#eaefef00" /> + <defs + id="defs1"> + <rect + x="307.8207" + y="245.11648" + width="380.50058" + height="350.57357" + id="rect6" /> + </defs> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <circle + style="fill:#eaefef;fill-opacity:1;stroke-width:0.171792" + id="path1" + cx="105" + cy="148.5" + r="56.935501" /> + <path + id="path5" + style="fill:#00558e;fill-opacity:1;stroke-width:0.264583" + d="M 105,91.56446 A 56.935547,56.935547 0 0 0 48.064459,148.5 56.935547,56.935547 0 0 0 105,205.43554 56.935547,56.935547 0 0 0 161.93554,148.5 56.935547,56.935547 0 0 0 105,91.56446 Z m 0,6.975801 A 49.959995,49.959995 0 0 1 154.96025,148.5 49.959995,49.959995 0 0 1 105,198.46026 49.959995,49.959995 0 0 1 55.040259,148.5 49.959995,49.959995 0 0 1 105,98.540261 Z" /> + <text + xml:space="preserve" + transform="matrix(0.26458333,0,0,0.26458333,-0.25662302,42.172623)" + id="text6" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:400px;line-height:0.9;font-family:'Noto Sans Adlam';-inkscape-font-specification:'Noto Sans Adlam';text-align:start;writing-mode:lr-tb;direction:ltr;white-space:pre;shape-inside:url(#rect6);display:inline;fill:#00558e;fill-opacity:1"><tspan + x="307.82031" + y="539.06726" + id="tspan4"><tspan + style="font-family:'IBM Plex Sans';-inkscape-font-specification:'IBM Plex Sans'" + id="tspan3">J</tspan></tspan></text> + </g> +</svg> diff --git a/static/logo/favicon16.png b/static/logo/favicon16.png Binary files differnew file mode 100644 index 0000000..e830c36 --- /dev/null +++ b/static/logo/favicon16.png diff --git a/static/logo/favicon32.png b/static/logo/favicon32.png Binary files differnew file mode 100644 index 0000000..eed6d11 --- /dev/null +++ b/static/logo/favicon32.png diff --git a/templates/404.html b/templates/404.html index 66918f5..69a2259 100755 --- a/templates/404.html +++ b/templates/404.html @@ -5,7 +5,9 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <title>404 Page Not Found</title> <link href="CSS/main.css" rel="stylesheet" type="text/css"> - <link href="favicon.ico" rel="icon" sizes="any"> + <link rel="icon" type="image/png" sizes="48x48" href="/icons/favicon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon16.png"> </head> <body> <ul class="topBar"> diff --git a/templates/articletemplate.html b/templates/articletemplate.html index 4ba1204..98922ba 100755 --- a/templates/articletemplate.html +++ b/templates/articletemplate.html @@ -5,7 +5,9 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Raspberry Pi Rocky Linux Webserver</title> <link href="/css/main.css" rel="stylesheet" type="text/css"> - <link href="/favicon.ico" rel="icon" sizes="any"> + <link rel="icon" type="image/png" sizes="48x48" href="/icons/favicon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon16.png"> <meta name="description" content="A tutorial on setting up a webserver on a Raspberry Pi with Rocky Linux 8"/> <meta name="author" content="Jacob McDonnell"/> <meta name="keywords" content="rocky,rocky linux,linux,raspberry pi,webserver,nginx,certbot,website"/> diff --git a/templates/template.html b/templates/template.html index a4e8c28..b6af29a 100755 --- a/templates/template.html +++ b/templates/template.html @@ -10,7 +10,9 @@ <meta name="keywords" content="Jacob,McDonnell,Jacob McDonnell,jacob,mcdonnell,jacob mcdonnell"/> <title>Jacob McDonnell</title> <link href="/css/main.css" rel="stylesheet" type="text/css"> - <link href="/favicon.ico" rel="icon" sizes="any"> + <link rel="icon" type="image/png" sizes="48x48" href="/icons/favicon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon16.png"> </head> <body> <ul class="topBar"> |
