Skip to content

Commit 9688237

Browse files
committed
Add easy way to apply page specific styles
Signed-off-by: t.pickett66 <t.pickett66@gmail.com>
1 parent d7f6840 commit 9688237

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_layouts/default.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<head>
44
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
55
<link type='text/css' rel='stylesheet' href='/css/default.css' />
6+
{% if page.stylesheet %}
7+
<link type='text/css' rel='stylesheet' href='/css/{{ page.stylesheet }}.css' />
8+
{% endif %}
69
<title>{{ page.title }}</title>
710
</head>
811
<body>

0 commit comments

Comments
 (0)