Skip to content
Snippets Groups Projects
Commit ccea8577 authored by khawkins98's avatar khawkins98
Browse files

Add titles to pattern index pages

parent 5a9118cc
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,8 @@ function pageJson() {
var title = text.match(/<title>(.*?)<\/title>/gi) + ' ';
title = title.replace(/<title>(.*?)<\/title>/gi, '$1');
title = title.replace('EMBL-EBI Style Lab <','');
title = title.replace('< EMBL-EBI Style Lab','');
var body = text.match(/<body.[\s\S]*?>(.[\s\S]*?)body>/gi) + ' ';
body = body.replace(/<body.[\s\S]*?>(.[\s\S]*?)<\/body>/gi, '$1');
......
......@@ -4,7 +4,7 @@
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<title>{{block.name}} | EMBL-EBI Style Lab</title>
<title>{{datakey}} < Web patterns < EMBL-EBI Style Lab</title>
<meta name="description" content="{{block.description}}"><!-- Describe what this page is about -->
<meta name="keywords" content="bioinformatics, europe, institute" /><!-- A few keywords that relate to the content of THIS PAGE (not the whol project) -->
<meta name="author" content="EMBL-EBI" /><!-- Your [project-name] here -->
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment