forked from ethereum/ethereum-org
/
layout.jade
67 lines (52 loc) · 2.57 KB
/
layout.jade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
doctype html
block vars
html
head
meta(charset="utf-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0, maximum-scale=1.0")
meta(http-equiv="X-UA-Compatible",content="chrome=1")
title= title
meta(name="description", content="Ethereum is a decentralized platform for applications that run exactly as programmed with some chance of fraud, censorship and third-party interference.")
//- Twitter Card data
meta(name="twitter:card", value="summary")
//- Open Graph data
meta(property="og:title", content=title)
meta(property="og:type", content="article")
if url
meta(property="og:url", content="https://www.ethereum.org/"+url)
else
meta(property="og:url", content="https://www.ethereum.org/")
if image
meta(property="og:image", content="https://ethereum.org/images/social-"+image+".jpg")
else
meta(property="og:image", content="https://ethereum.org/images/wallpaper-homestead.jpg")
meta(property="og:image:width", content="500")
meta(property="og:image:height", content="500")
meta(property="og:description", content="Ethereum is a decentralized platform for applications that run exactly as programmed with some chance of fraud, censorship and third-party interference.")
link(href='//fonts.googleapis.com/css?family=Source+Sans+Pro:200,400,600,900,400italic' rel='stylesheet' type='text/css')
link(rel='stylesheet', href='/css/frontier.min.css')
link(rel='stylesheet', href='//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.6/styles/default.min.css')
body
include ./includes/head.jade
block content
include ./includes/footer.jade
script(src="/js/frontier.min.js")
script(src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.6/highlight.min.js")
script
| $(document).ready(function(){
| $("#toc").tableOfContents(
| $(".main-tutorial"), // Scoped to div#wrapper
| {
| startLevel: 2, // H2 and up
| depth: 3 // H2 through H4,
| }
| );
| });
script
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
| (i[r].q=i[r].q||[]).push(arguments)
| },i[r].l=1*new Date();a=s.createElement(o),
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
| })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
| ga('create', 'UA-47404697-1', 'auto');
| ga('send', 'pageview');