neocities/views/layout.erb
2014-08-01 22:37:38 -07:00

85 lines
3.2 KiB
Text

<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><%= title %></title>
<meta itemprop="name" content="Neocities.org">
<meta itemprop="description" content="ECreate your own free home page, and do whatever you want with it.">
<meta name="description" content="Neocities is the new Geocities. Create your own free home page, and do whatever you want with it.">
<meta name="keywords" content="free website, html, css, learn to code, free hosting, build a website, create a web page" >
<meta property="og:title" content="Neocities">
<meta property="og:site_name" content="Neocities | neocities.org">
<meta property="og:type" content="website">
<meta property="og:image" content="/assets/img/cat-larger.png">
<meta property="og:url" content="https://www.neocities.org">
<meta property="og:description" content="Neocities is the new Geocities. Create your own free home page, and do whatever you want with it.">
<!--
<meta content="<%= csrf_token %>" name="csrf-token" />
-->
<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="/assets/css/neo.css" rel="stylesheet" type="text/css" media="all"/>
<link href="/css/font-awesome.min.css" rel="stylesheet" type="text/css" media="all"/>
<link href="/css/styles.css" rel="stylesheet" type="text/css" media="all">
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
<!-- Mobile Meta -->
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1" />
<link rel="author" type="text/plain" href="humans.txt" />
<!--[if lt IE 9]>
<script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script>
var RecaptchaOptions = {theme: 'clean'}
</script>
<script src="/assets/scripts/jquery-1.11.0.min.js"></script>
</head>
<body class="interior">
<div class="page">
<%== erb :'_header', layout: false %>
<%== yield %>
</div>
<footer class="footer-Base">
<%== erb :'_footer', layout: false %>
</footer>
<script src="/assets/scripts/underscore-min.js"></script>
<script src="/assets/scripts/nav.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/typeahead.bundle.js"></script>
<script>
$("a#like").tooltip({html: true})
$("a.comment_like").tooltip({html: true})
$('#shareButton').popover({html: true})
$('.typeahead').typeahead({
minLength: 3,
highlight: true
}, {
name: 'tags',
source: function(query, callback) {
$.get('/tags/suggestions/'+query+'.json', function(data) {
console.log(data)
var suggestions = JSON.parse(data)
var suggestionObjects = []
for(var i=0; i<suggestions.length; i++)
suggestionObjects.push({value: suggestions[i]})
callback(suggestionObjects)
})
}
})
</script>
</body>
</html>