change meta tags

This commit is contained in:
steven 2025-04-04 00:14:43 -04:00
parent e7aa36b137
commit ecf5f62147
4 changed files with 67 additions and 104 deletions

View file

@ -1,35 +1,24 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>{{ data.event_name }}</title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta property="og:site_name" content="44live">
<meta content="44live" property="og:site_name"> <meta property="og:title" content="{{ data.event_name }}{{ " ("+data.event_title+")" if data.event_title }}">
<meta content="{{ data.event_name }}{{ " ("+data.event_title+")" if data.event_title }}" property="og:title">
{%- if data.event_text %} {%- if data.event_text %}
{%- if data.event_text.append is defined %} {%- if data.event_text.append is defined %}
{%- for i in data.event_text %} {%- for i in data.event_text %}
{%- if i.text_type_id == 1 %} {%- if i.text_type_id == 1 %}
<meta content="{{ i.text }}" property="og:description"> <meta property="og:description" content="{{ i.text }}">
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
{%- elif data.event_text.text_type_id == 1 %} {%- elif data.event_text.text_type_id == 1 %}
<meta content="{{ data.event_text.text }}" property="og:description"> <meta property="og:description" content="{{ data.event_text.text }}">
{%- endif %} {%- endif %}
{%- endif %} {%- endif %}
<meta content='https://44live.stevenalexander.org/clock.svg' property='og:image'> <title>{{ data.event_name }}</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="icon" type="image/x-icon" href="/clock.svg"> <link rel="icon" type="image/x-icon" href="/clock.svg">
<style> <style>*{font-family:monospace;}</style>
* {
font-family: monospace;
}
footer {
display: flex;
background-color: lightblue;
padding: 5px;
justify-content: center;
}
</style>
</head> </head>
<body> <body>
<h1><a href="https://25live.collegenet.com/pro/louisville#!/home/event/{{ data.event_id }}/details">{{ data.event_name }}</a>{{ " ("+data.event_title+")" if data.event_title }}</h1> <h1><a href="https://25live.collegenet.com/pro/louisville#!/home/event/{{ data.event_id }}/details">{{ data.event_name }}</a>{{ " ("+data.event_title+")" if data.event_title }}</h1>
@ -104,6 +93,6 @@ footer {
<p>{{ data.custom_attribute.attribute_value }}</p> <p>{{ data.custom_attribute.attribute_value }}</p>
{%- endif %} {%- endif %}
{%- endif %} {%- endif %}
<footer>Last modified at {{ data.last_mod_dt }} by {{ data.last_mod_user }}</footer> <h2>Last modified at {{ data.last_mod_dt }} by {{ data.last_mod_user }}</h2>
</body> </body>
</html> </html>

View file

@ -1,16 +1,15 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>UofL Events</title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta content="44live - find rooms at UofL" property="og:title"> <meta property="og:site_name" content="44live">
<meta content='https://44live.stevenalexander.org/calendar.svg' property='og:image'> <meta property="og:title" content="44live - find events at UofL">
<meta property="og:description" content="Find events at the University of Louisville">
<title>UofL Events</title>
<meta name="description" content="Find events at the University of Louisville">
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="icon" type="image/x-icon" href="/calendar.svg"> <link rel="icon" type="image/x-icon" href="/calendar.svg">
<style> <style>*{font-family:monospace;font-size:0.8cm;}input[type="checkbox"],input[type="radio"]{width:0.7cm;height:0.7cm;}</style>
*{font-family:monospace;font-size:0.8cm;}
input[type="checkbox"],input[type="radio"]{width:0.7cm;height:0.7cm;}
</style>
</head> </head>
<body> <body>
<h1>Choose a day:</h1> <h1>Choose a day:</h1>

View file

@ -1,22 +1,14 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>44live</title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta property="og:site_name" content="44live">
<meta property="og:title" content="44live - find events at UofL">
<title>{{ day }} - 44live</title>
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<meta content="44live" property="og:site_name">
<meta content="44live - find rooms at UofL" property="og:title">
<meta content="Work in progress. Don't expect much." property="og:description">
<meta content='https://44live.stevenalexander.org/calendar.svg' property='og:image'>
<link rel="icon" type="image/x-icon" href="/calendar.svg"> <link rel="icon" type="image/x-icon" href="/calendar.svg">
<base target="_blank"> <base target="_blank">
<style> <style>*{margin:0;padding:0;scrollbar-width:none;}
* {
margin: 0;
padding: 0;
scrollbar-width: none;
}
body,html{ body,html{
-webkit-text-size-adjust:100%; -webkit-text-size-adjust:100%;
font:12px monospace; font:12px monospace;

View file

@ -1,30 +1,13 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>{{ data.space_name }}</title>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta property="og:site_name" content="44live">
<meta property="og:title" content="{{ data.space_name }}{{ " ("+data.building_name+")" if data.building_name }}">
<title>{{ data.space_name }}</title>
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
<meta content="44live" property="og:site_name">
<meta content="{{ data.space_name }}{{ " ("+data.building_name+")" if data.building_name }}" property="og:title">
<meta content='https://44live.stevenalexander.org/location.svg' property='og:image'>
<link rel="icon" type="image/x-icon" href="/location.svg"> <link rel="icon" type="image/x-icon" href="/location.svg">
<style> <style>*{font-family:monospace;}b{white-space:pre-wrap;}img{max-width:100%;}</style>
* {
font-family: monospace;
}
b {
white-space: pre-wrap;
}
img {
max-width:100%;
}
footer {
display: flex;
background-color: lightblue;
padding: 5px;
justify-content: center;
}
</style>
</head> </head>
<body> <body>
<h1><a href="https://25live.collegenet.com/pro/louisville#!/home/location/{{ data.space_id }}/availability/daily">{{ data.space_name }}</a>{{ " ("+data.building_name+")" if data.building_name }}</h1> <h1><a href="https://25live.collegenet.com/pro/louisville#!/home/location/{{ data.space_id }}/availability/daily">{{ data.space_name }}</a>{{ " ("+data.building_name+")" if data.building_name }}</h1>
@ -56,6 +39,6 @@ footer {
<img src="https://25live.collegenet.com/25live/data/louisville/run/image?image_id={{ data.layout.layout_photo_id }}"> <img src="https://25live.collegenet.com/25live/data/louisville/run/image?image_id={{ data.layout.layout_photo_id }}">
{%- endif %} {%- endif %}
{%- endif %} {%- endif %}
<footer>Last modified at {{ data.last_mod_dt }} by {{ data.last_mod_user }}</footer> <h2>Last modified at {{ data.last_mod_dt }} by {{ data.last_mod_user }}</h2>
</body> </body>
</html> </html>