Skip to content

Commit a25eecd

Browse files
committed
Initial commit
0 parents  commit a25eecd

File tree

5 files changed

+43
-0
lines changed

5 files changed

+43
-0
lines changed

Gemfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
6+
7+
# gem "rails"
8+
9+
gem "jekyll"

_includes/navigation.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<nav>
2+
<a href="/" {% if page.url == "/" %}style="color: red;"{% endif %}>
3+
Home
4+
</a>
5+
<a href="/about.html" {% if page.url == "/about.html" %}style="color: red;"{% endif %}>
6+
About
7+
</a>
8+
</nav>

_layouts/default.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>{{ page.title }}</title>
6+
</head>
7+
<body>
8+
{% include navigation.html %}
9+
{{ content }}
10+
</body>
11+
</html>

about.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout : default
3+
4+
title : About
5+
6+
---
7+
8+
# About Page
9+
10+
This is a test

index.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout : default
3+
---
4+
5+
<h1>Test2</h1>

0 commit comments

Comments
 (0)