Skip to content

Commit

Permalink
Merge pull request #289 from OhYee/head
Browse files Browse the repository at this point in the history
add custom head
  • Loading branch information
yscoder authored Aug 10, 2017
2 parents 1c2fc57 + faf64a2 commit caf586e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions layout/_partial/head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,12 @@
<%- favicon_tag(theme.favicon) %>
<link rel="stylesheet" href="<%- url_for(theme_css('/css/style', cache)) %>">
<script>window.lazyScripts=[]</script>

<!-- custom head -->
<% if (site.data.head) { %>
<% for (var i in site.data.head) { %>
<%- site.data.head[i] %>
<% } %>
<% } %>

</head>

0 comments on commit caf586e

Please sign in to comment.