1
0

Canonical tag (#3300)

Added a canonical tag to the API docs, which should prevent duplicate pages on search engines
Changed the newsletter link
This commit is contained in:
Mathias 2016-08-07 10:06:44 +03:00 committed by Mattes D
parent 03b639b3f1
commit 9fe4333f56
8 changed files with 8 additions and 1 deletions

View File

@ -7,7 +7,7 @@ Cuberite can run on Windows, *nix and Android operating systems. This includes A
We currently support Release 1.8 and 1.9 Minecraft protocol versions.
Subscribe to [the newsletter](https://newsletter.cuberite.org/subscribe.htm) for important updates and project news.
Subscribe to [the newsletter](https://cuberite.org/news/#subscribe) for important updates and project news.
Installation
------------

View File

@ -2,6 +2,7 @@
<html>
<head>
<title>Cuberite - Info.lua file</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -3,6 +3,7 @@
<html>
<head>
<title>Cuberite - Setting up Decoda</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -3,6 +3,7 @@
<html>
<head>
<title>Cuberite - Setting up ZeroBrane Studio</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -2,6 +2,7 @@
<html>
<head>
<title>Cuberite - Using ChunkStays</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -2,6 +2,7 @@
<html>
<head>
<title>Cuberite - Webserver vs World threads</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -3,6 +3,7 @@
<html>
<head>
<title>Cuberite Plugin Tutorial</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>

View File

@ -259,6 +259,7 @@ local function WriteHtmlHook(a_Hook, a_HookNav)
f:write([[<!DOCTYPE html><html>
<head>
<title>Cuberite API - ]], HookName, [[ Hook</title>
<link rel="canonical" href="http://api-docs.cuberite.org/">
<link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="prettify.css" />
<script src="prettify.js"></script>