Skip to content

Commit

Permalink
Merge pull request #20 from CodeMyst/fix/api-docs-seo
Browse files Browse the repository at this point in the history
Changed title of API Docs in SEO
  • Loading branch information
CodeMyst authored Nov 12, 2018
2 parents d74c9d6 + 8444801 commit 750c1b1
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions views/api-docs.dt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
extends layout

block head
meta(name="twitter:title", content="PasteMyst API Docs")
meta(property="og:title", content="PasteMyst API Docs")

block body
h2 API

4 changes: 2 additions & 2 deletions views/layout.dt
Original file line number Diff line number Diff line change
@@ -13,12 +13,12 @@ html(lang="en")
meta(name="twitter:card", content="A simple website for pasting text, mainly code snippets.")
meta(name="twitter:description", content="A simple website for pasting text, mainly code snippets.")
meta(name="twitter:site", content="@CodeMyst")
meta(name="twitter:title", content="PasteMyst")
meta(name="twitter:creator", content="@CodeMyst")
meta(name="twitter:image", content="https://avatars2.githubusercontent.com/u/7966628?s=460&v=4")
meta(property="og:title", content="PasteMyst")
meta(property="og:image", content="https://avatars2.githubusercontent.com/u/7966628?s=460&v=4")
meta(property="og:description", content="A simple website for pasting text, mainly code snippets.")
meta(name="twitter:title", content="PasteMyst")
meta(property="og:title", content="PasteMyst")

link(rel="stylesheet", type="text/css", href="https://fonts.googleapis.com/css?family=Raleway:300,400,600")
link(rel="stylesheet", type="text/css", href="https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,400i,700,700i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext")

0 comments on commit 750c1b1

Please sign in to comment.