Skip to content

Commit 33ea354

Browse files
committed
Test default layout
1 parent e9b2d82 commit 33ea354

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

_config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
collections:
22
examples:
33
output: true
4+
5+
defaults:
6+
-
7+
scope:
8+
path: ""
9+
values:
10+
layout: "default"

_layouts/default.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<link href="./style.css" rel="stylesheet">
5+
<script>console.log('SCRIPT RUNS')</script> <!-- Or inline <script>your logic here</script> -->
6+
</head>
7+
<body>
8+
{{ content }}
9+
</body>
10+
</html>

0 commit comments

Comments
 (0)