change meta tags
This commit is contained in:
parent
e7aa36b137
commit
ecf5f62147
4 changed files with 67 additions and 104 deletions
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -1,81 +1,73 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>44live</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="44live - find events at UofL">
|
||||||
<meta content="44live - find rooms at UofL" property="og:title">
|
<title>{{ day }} - 44live</title>
|
||||||
<meta content="Work in progress. Don't expect much." property="og:description">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<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;}
|
||||||
* {
|
body,html{
|
||||||
margin: 0;
|
-webkit-text-size-adjust:100%;
|
||||||
padding: 0;
|
font:12px monospace;
|
||||||
scrollbar-width: none;
|
width:100%;
|
||||||
|
height:100%;
|
||||||
|
overflow:auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
body, html {
|
table{
|
||||||
-webkit-text-size-adjust: 100%;
|
background-color:black;
|
||||||
font: 12px monospace;
|
min-width:100%;
|
||||||
width: 100%;
|
width:1600px;
|
||||||
height: 100%;
|
max-width:400%;
|
||||||
overflow: auto;
|
border-collapse:separate;
|
||||||
|
border-spacing:0;
|
||||||
|
table-layout:fixed;
|
||||||
|
overflow-x:clip;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
th,td{
|
||||||
background-color: black;
|
background-color:white;
|
||||||
min-width: 100%;
|
box-sizing:border-box;
|
||||||
width: 1600px;
|
border-bottom:2px solid black;
|
||||||
max-width: 400%;
|
border-right:2px solid black;
|
||||||
border-collapse: separate;
|
overflow:hidden;
|
||||||
border-spacing: 0;
|
text-overflow:ellipsis;
|
||||||
table-layout: fixed;
|
|
||||||
overflow-x: clip;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
th, td {
|
th,td:first-child{
|
||||||
background-color: white;
|
position:sticky;
|
||||||
box-sizing: border-box;
|
|
||||||
border-bottom: 2px solid black;
|
|
||||||
border-right: 2px solid black;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
th, td:first-child {
|
th:first-child,td:first-child{
|
||||||
position: sticky;
|
left:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
th:first-child, td:first-child {
|
th{
|
||||||
left: 0;
|
top:0;
|
||||||
|
text-align:center;
|
||||||
|
font-weight:bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th:first-child{
|
||||||
top: 0;
|
z-index:1;
|
||||||
text-align: center;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
th:first-child {
|
a,span{
|
||||||
z-index: 1;
|
white-space:nowrap;
|
||||||
|
padding:2px;
|
||||||
|
overflow:hidden;
|
||||||
|
text-overflow:ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
a, span {
|
a{
|
||||||
white-space: nowrap;
|
display:block;
|
||||||
padding: 2px;
|
text-decoration:none;
|
||||||
overflow: hidden;
|
color:black;
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
}
|
||||||
|
.closed>a{color:white;}
|
||||||
a {
|
|
||||||
display: block;
|
|
||||||
text-decoration: none;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
.closed > a {color:white;}
|
|
||||||
a:hover{background-color:lightgray;color:black;}
|
a:hover{background-color:lightgray;color:black;}
|
||||||
.closed{background-color:black;color:white;}
|
.closed{background-color:black;color:white;}
|
||||||
.available{background-color:lightgreen;}
|
.available{background-color:lightgreen;}
|
||||||
|
|
|
@ -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 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.space_name }}{{ " ("+data.building_name+")" if data.building_name }}">
|
||||||
<meta content="{{ data.space_name }}{{ " ("+data.building_name+")" if data.building_name }}" property="og:title">
|
<title>{{ data.space_name }}</title>
|
||||||
<meta content='https://44live.stevenalexander.org/location.svg' property='og:image'>
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue