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>
<html lang="en">
<head>
<title>{{ data.event_name }}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content="44live" property="og:site_name">
<meta content="{{ data.event_name }}{{ " ("+data.event_title+")" if data.event_title }}" property="og:title">
<meta property="og:site_name" content="44live">
<meta property="og:title" content="{{ data.event_name }}{{ " ("+data.event_title+")" if data.event_title }}">
{%- if data.event_text %}
{%- if data.event_text.append is defined %}
{%- for i in data.event_text %}
{%- if i.text_type_id == 1 %}
<meta content="{{ i.text }}" property="og:description">
<meta property="og:description" content="{{ i.text }}">
{%- endif %}
{%- endfor %}
{%- 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 %}
<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">
<style>
* {
font-family: monospace;
}
footer {
display: flex;
background-color: lightblue;
padding: 5px;
justify-content: center;
}
</style>
<style>*{font-family:monospace;}</style>
</head>
<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>
@ -104,6 +93,6 @@ footer {
<p>{{ data.custom_attribute.attribute_value }}</p>
{%- 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>
</html>

View file

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

View file

@ -1,81 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>44live</title>
<meta charset="UTF-8">
<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'>
<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">
<link rel="icon" type="image/x-icon" href="/calendar.svg">
<base target="_blank">
<style>
* {
margin: 0;
padding: 0;
scrollbar-width: none;
<style>*{margin:0;padding:0;scrollbar-width:none;}
body,html{
-webkit-text-size-adjust:100%;
font:12px monospace;
width:100%;
height:100%;
overflow:auto;
}
body, html {
-webkit-text-size-adjust: 100%;
font: 12px monospace;
width: 100%;
height: 100%;
overflow: auto;
table{
background-color:black;
min-width:100%;
width:1600px;
max-width:400%;
border-collapse:separate;
border-spacing:0;
table-layout:fixed;
overflow-x:clip;
}
table {
background-color: black;
min-width: 100%;
width: 1600px;
max-width: 400%;
border-collapse: separate;
border-spacing: 0;
table-layout: fixed;
overflow-x: clip;
th,td{
background-color:white;
box-sizing:border-box;
border-bottom:2px solid black;
border-right:2px solid black;
overflow:hidden;
text-overflow:ellipsis;
}
th, td {
background-color: white;
box-sizing: border-box;
border-bottom: 2px solid black;
border-right: 2px solid black;
overflow: hidden;
text-overflow: ellipsis;
th,td:first-child{
position:sticky;
}
th, td:first-child {
position: sticky;
th:first-child,td:first-child{
left:0;
}
th:first-child, td:first-child {
left: 0;
th{
top:0;
text-align:center;
font-weight:bold;
}
th {
top: 0;
text-align: center;
font-weight: bold;
th:first-child{
z-index:1;
}
th:first-child {
z-index: 1;
a,span{
white-space:nowrap;
padding:2px;
overflow:hidden;
text-overflow:ellipsis;
}
a, span {
white-space: nowrap;
padding: 2px;
overflow: hidden;
text-overflow: ellipsis;
a{
display:block;
text-decoration:none;
color:black;
}
a {
display: block;
text-decoration: none;
color: black;
}
.closed > a {color:white;}
.closed>a{color:white;}
a:hover{background-color:lightgray;color:black;}
.closed{background-color:black;color:white;}
.available{background-color:lightgreen;}

View file

@ -1,30 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ data.space_name }}</title>
<meta charset="UTF-8">
<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'>
<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">
<link rel="icon" type="image/x-icon" href="/location.svg">
<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>
<style>*{font-family:monospace;}b{white-space:pre-wrap;}img{max-width:100%;}</style>
</head>
<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>
@ -56,6 +39,6 @@ footer {
<img src="https://25live.collegenet.com/25live/data/louisville/run/image?image_id={{ data.layout.layout_photo_id }}">
{%- 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>
</html>