mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
Enable page-specific css
This commit is contained in:
parent
589e460678
commit
b68530f739
3 changed files with 31 additions and 24 deletions
27
_includes/head.html
Normal file
27
_includes/head.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>Go Ethereum</title>
|
||||
<link rel="icon" type="image/png" href="./static/images/favicon.png" />
|
||||
|
||||
<link href="./static/styles/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="./static/styles/flatly.min.css" rel="stylesheet" />
|
||||
<link href="./static/styles/font-awesome.min.css" rel="stylesheet" />
|
||||
|
||||
<link href="./static/styles/custom/common.css" rel="stylesheet" />
|
||||
{% if page.css %}
|
||||
{% for css in page.css %}
|
||||
<link href="{{ css }}" rel="stylesheet" />
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<script src="./static/scripts/jquery.min.js"></script>
|
||||
<script src="./static/scripts/bootstrap.min.js"></script>
|
||||
<script src="./static/scripts/moment.min.js"></script>
|
||||
<script src="./static/scripts/marked.min.js"></script>
|
||||
<script src="./static/scripts/emojify.min.js"></script>
|
||||
|
||||
<script src="../static/scripts/custom/polyfills.js"></script>
|
||||
</head>
|
||||
|
|
@ -1,28 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>Go Ethereum</title>
|
||||
<link rel="icon" type="image/png" href="./static/images/favicon.png" />
|
||||
|
||||
<link href="./static/styles/bootstrap.min.css" rel="stylesheet" />
|
||||
<link href="./static/styles/flatly.min.css" rel="stylesheet" />
|
||||
<link href="./static/styles/font-awesome.min.css" rel="stylesheet" />
|
||||
|
||||
<link href="./static/styles/custom/common.css" rel="stylesheet" />
|
||||
<link href="./static/styles/custom/home.css" rel="stylesheet" />
|
||||
|
||||
<script src="./static/scripts/jquery.min.js"></script>
|
||||
<script src="./static/scripts/bootstrap.min.js"></script>
|
||||
<script src="./static/scripts/moment.min.js"></script>
|
||||
<script src="./static/scripts/marked.min.js"></script>
|
||||
<script src="./static/scripts/emojify.min.js"></script>
|
||||
|
||||
<script src="../static/scripts/custom/polyfills.js"></script>
|
||||
</head>
|
||||
{% include head.html %}
|
||||
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-fixed-top">
|
||||
|
|
@ -46,7 +24,7 @@
|
|||
</div>
|
||||
</nav>
|
||||
|
||||
{{ page.content }}
|
||||
{{ content }}
|
||||
<hr/>
|
||||
<footer>
|
||||
<p>© 2013-2019. The go-ethereum Authors.</p>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
css:
|
||||
- ./static/styles/custom/home.css
|
||||
---
|
||||
<div class="jumbotron">
|
||||
<div class="container mascot">
|
||||
|
|
|
|||
Loading…
Reference in a new issue