Skip to content

Commit

Permalink
Test Include
Browse files Browse the repository at this point in the history
  • Loading branch information
linsaftw committed Dec 23, 2023
1 parent a15714b commit e4d980b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
17 changes: 17 additions & 0 deletions _includes/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ page.title }}</title>
</head>
<body>

{% include navbar.html %}

<main>
{{ content }}
</main>

</body>
</html>
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
</script>
</head>
<body>
{% include navbar.html %}
<section class="hero">
<nav id="nav" class="navbar">
<div class="navbar-logo">
Expand Down
11 changes: 11 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- index.md -->

---
layout: default
---

{% include navbar.html %}

# Welcome to My Website

This is the homepage content.

0 comments on commit e4d980b

Please sign in to comment.