Skip to content

Commit ef75373

Browse files
Added default.html - layout for all the pages. Need to automate lilnk building for the navigation from the _pages folder.
Added 01_about.md - test file for building subpages.
1 parent af2ea8f commit ef75373

File tree

3 files changed

+124
-1
lines changed

3 files changed

+124
-1
lines changed

_layouts/default.html

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<script defer src="https://use.fontawesome.com/releases/v5.0.6/js/all.js"></script>
7+
<link href="https://fonts.googleapis.com/css?family=Share+Tech+Mono" rel="stylesheet">
8+
<link href="https://fonts.googleapis.com/css?family=Encode+Sans+Expanded" rel="stylesheet">
9+
<link href="https://fonts.googleapis.com/css?family=Playfair+Display" rel="stylesheet">
10+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
11+
<link rel="stylesheet" href="static/css/typography.css">
12+
<link rel="stylesheet" href="static/css/style.css">
13+
14+
<title> {{ page.title }}</title>
15+
</head>
16+
<body class="body">
17+
<!--Full screen navigation section-->
18+
<nav class="navigation navbar sticky-top navbar-light">
19+
<div class="navigation__brand">
20+
<a class="navigation__brand-link navbar-brand" href="index.html">
21+
<img class="navigation__brand-img" src="static/images/site_logo/python_sprints_logo.png" alt="Python Sprints Logo">
22+
<span class="navigation__brand-name">Python Sprints</span>
23+
</a>
24+
</div>
25+
26+
<div class="navigation__button-open-container">
27+
<div class="navigation__hamburger-bar"></div>
28+
<div class="navigation__hamburger-bar"></div>
29+
<div class="navigation__hamburger-bar"></div>
30+
</div>
31+
32+
<div class="navigation__button-close-container">
33+
<a href="javascript:void(0)" class="navigation__button-close">
34+
<i class="navigation__button-close fas fa-times"></i>
35+
</a>
36+
</div>
37+
<div class="navigation__overlay">
38+
<div class="navigation__overlay-content">
39+
<a class="navigation__link" href="#">About</a>
40+
<a class="navigation__link" href="#">Getting Started</a>
41+
<a class="navigation__link" href="#">Projects</a>
42+
<a class="navigation__link" href="#">Contact</a>
43+
</div>
44+
</div>
45+
</nav>
46+
47+
<div class="container">
48+
49+
{{ content }}
50+
51+
</div>
52+
53+
<!--Footer-->
54+
<footer class="footer">
55+
<div class="row">
56+
<div class="col-md-4 text-center">
57+
<p class="section-content footer__text">Find Us Online</p>
58+
<hr class="footer__divider">
59+
<a href="https://www.meetup.com/Python-Sprints/" target="_blank"><i class="footer__icon fab fa-meetup"></i></a>
60+
<a href="https://twitter.com/py_sprints" target="_blank"><i class="footer__icon fab fa-twitter"></i></a>
61+
</div>
62+
<div class="col-md-4">
63+
<p class="section-content footer__text">Our Sponsors</p>
64+
<hr class="footer__divider">
65+
<div class="row">
66+
<div class="col-lg-6">
67+
<a class="footer__sponsor-link" href="https://www.linkedin.com/in/hamishpitkeathly/">
68+
<img class="footer__img" src="static/images/sponsors/harvey_nash_130x90.png">
69+
</a>
70+
<a class="footer__sponsor-link" href="https://www.python.org/psf/">
71+
<img class="footer__img" src="static/images/sponsors/python_software_foundation.jpeg">
72+
</a>
73+
</div>
74+
<div class="col-lg-6">
75+
<a class="footer__sponsor-link" href="https://www.touchsurgery.com/jobs.html">
76+
<img class="footer__img" src="static/images/sponsors/touch_surgery.png">
77+
</a>
78+
<a class="footer__sponsor-link" href="https://www.bloomberg.com/careers/">
79+
<img class="footer__img" src="static/images/sponsors/bloomberg.png">
80+
</a>
81+
</div>
82+
</div>
83+
</div>
84+
<div class="col-md-4">
85+
<p class="section-content footer__text">Python Sprints</p>
86+
<hr class="footer__divider">
87+
<a class="footer__link" href="#" target="_blank">About</a>
88+
<a class="footer__link" href="#" target="_blank">Getting Started</a>
89+
<a class="footer__link" href="#" target="_blank">Projects</a>
90+
<a class="footer__link" href="#" target="_blank">Contact</a>
91+
<a class="footer__link" href="#" target="_blank">Credits</a>
92+
</div>
93+
</div>
94+
95+
<div class="footer__content row container-fluid">
96+
<div class="col-md-12">
97+
<p class="section-content footer__text-copyright">
98+
© Copyright
99+
<script>document.write(new Date().getFullYear())</script>
100+
- Python Sprints
101+
<img class="footer__brand-img" src="static/images/site_logo/python_sprints_logo.png" alt="Python Sprints Logo">
102+
103+
</p>
104+
</div>
105+
</div>
106+
</footer>
107+
<!--Scripts-->
108+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
109+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
110+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
111+
<script src="static/js/site.js"></script>
112+
</body>
113+
</html>

_pages/01_about.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
layout: default
3+
title: About
4+
permalink: /about/
5+
---
6+
7+
This is the content of the about page
8+
* list item
9+
* another list item
10+
- list item 1
11+
- list item 2

_static/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)