Skip to content

Commit c833f58

Browse files
committed
github pages
1 parent 961c016 commit c833f58

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

_layouts/default.html

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html>
2+
<html lang="en-us">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>{{ page.title | default: site.title }}</title>
6+
<meta name="description" content="{{ page.description | default: site.description | default: site.github.project_tagline }}"/>
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<meta name="theme-color" content="#157878">
9+
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
10+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
11+
</head>
12+
<body>
13+
<section class="page-header">
14+
<h1 class="project-name">{{ site.title | default: site.github.repository_name }}</h1>
15+
<h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
16+
</section>
17+
18+
<section class="main-content">
19+
{{ content }}
20+
21+
<footer class="site-footer">
22+
{% if site.github.is_project_page %}
23+
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
24+
{% endif %}
25+
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
26+
</footer>
27+
</section>
28+
29+
{% if site.google_analytics %}
30+
<script type="text/javascript">
31+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
32+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
33+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
34+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
35+
36+
ga('create', '{{ site.google_analytics }}', 'auto');
37+
ga('send', 'pageview');
38+
</script>
39+
{% endif %}
40+
</body>
41+
</html>

index.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: default
3+
mathjax: true
4+
title: dl book
5+
---
6+
<h3>dl book</h3>
7+
8+
<ul>
9+
<li/>Chapter 3 Notebook 1
10+
<li/>Chapter 3 Notebook 2
11+
<li/>Chapter 3 Notebook 3
12+
13+
</ul>
14+

0 commit comments

Comments
 (0)