Add a few more useful rels to the layout's links

This commit is contained in:
Danielle McLean 2017-10-06 15:04:46 +11:00
parent 92373fcfa5
commit a0dd673af7
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
2 changed files with 3 additions and 2 deletions

View file

@ -8,6 +8,7 @@ $doctype 5
<title>#{pageTitle pc}
$maybe route <- mcurrentRoute
<link rel="canonical" href=@{route}>
<link rel="sitemap" href=@{SitemapR}>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<script src="https://use.fontawesome.com/4fbab4ae27.js">

View file

@ -1,7 +1,7 @@
<header>
<nav .navbar .navbar-expand-lg .navbar-dark.bg-dark>
$maybe title <- appTitle $ appSettings master
<a .navbar-brand href=@{HomeR}>#{title}
<a .navbar-brand rel="home" href=@{HomeR}>#{title}
<button type="button" .navbar-toggler data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar" aria-label="Toggle navigation">
<span .navbar-toggler-icon>
@ -31,4 +31,4 @@
$with Package { packageName = n, packageVersion = v, packageRepository = r } <- package
<p>
powered by #
<a href="#{repositoryUrl r}/tree/v#{v}">#{n} #{v}
<a rel="code-repository" href="#{repositoryUrl r}/tree/v#{v}">#{n} #{v}