mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-06-09 23:09:25 +02:00
Add name of linked entry to title, add JSON-LD metadata
This commit is contained in:
parent
9e4b43c260
commit
5cacf3243c
File diff suppressed because one or more lines are too long
|
@ -309,6 +309,9 @@ function initView(){
|
|||
|
||||
if (entry.length === 1){
|
||||
entry = entry[0];
|
||||
|
||||
document.title = entry.name + " on the /r/place Atlas";
|
||||
|
||||
var infoElement = createInfoBlock(entry);
|
||||
objectsContainer.innerHTML = "";
|
||||
objectsContainer.appendChild(infoElement);
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
<meta name="description" content="An interactive map of Reddit's /r/place, with information to each artwork of the canvas.">
|
||||
<meta name="author" content="Roland Rytz">
|
||||
<meta name="keywords" content="reddit, /r/place, april">
|
||||
<meta name="keywords" content="reddit, /r/place">
|
||||
<meta name="application-name" content="The /r/place Atlas">
|
||||
<meta name="robots" content="index, follow">
|
||||
|
||||
|
@ -43,6 +43,36 @@
|
|||
|
||||
<link href="./_css/style.css?version=1.0.32" rel="stylesheet" type="text/css" media="all">
|
||||
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "WebSite",
|
||||
"name": "The /r/place Atlas",
|
||||
"url": "https://draemm.li/various/place-atlas",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"@id": "#RolandRytz",
|
||||
"name": "Roland Rytz",
|
||||
"email": "roland.rytz@gmail.com",
|
||||
"familyName": "Rytz",
|
||||
"givenName": "Roland",
|
||||
"additionalName": "Pekka",
|
||||
"alternateName": "draemmli",
|
||||
"gender": "Male",
|
||||
"nationality": "Switzerland"
|
||||
},
|
||||
"copyrightHolder": { "@id": "#RolandRytz" },
|
||||
"copyrightYear": 2017,
|
||||
"license": "https://draemm.li/various/place-atlas/license.txt",
|
||||
"inLanguage": "English",
|
||||
"isAccessibleForFree": true,
|
||||
"keywords": "reddit, /r/place",
|
||||
"thumbnailUrl": "https://draemm.li/various/place-atlas/_img/logo.png",
|
||||
"logo": "https://draemm.li/various/place-atlas/_img/logo.png",
|
||||
"description": "An interactive map of Reddit's /r/place, with information to each artwork of the canvas."
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
@ -200,7 +230,7 @@ <h2>My Bitcoin Address</h2>
|
|||
<script type="text/javascript" src="./_js/stats.js?version=1.0.0"></script>
|
||||
-->
|
||||
|
||||
<script type="text/javascript" src="./_js/minified.js?version=1.0.101"></script>
|
||||
<script type="text/javascript" src="./_js/minified.js?version=1.0.102"></script>
|
||||
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue