Skip to content

Commit 4977c82

Browse files
authored
Merge pull request yscoder#289 from OhYee/head
add custom head
2 parents 93a730b + e8304f6 commit 4977c82

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

layout/_partial/head.ejs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,12 @@
5050
<%- favicon_tag(theme.favicon) %>
5151
<link rel="stylesheet" href="<%- url_for(theme_css('/css/style', cache)) %>">
5252
<script>window.lazyScripts=[]</script>
53+
54+
<!-- custom head -->
55+
<% if (site.data.head) { %>
56+
<% for (var i in site.data.head) { %>
57+
<%- site.data.head[i] %>
58+
<% } %>
59+
<% } %>
60+
5361
</head>

0 commit comments

Comments
 (0)