Skip to content

Commit

Permalink
feat: add the head-end hook (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang authored Nov 25, 2023
1 parent db2e206 commit b652d28
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions layouts/_default/decap-cms.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
{{- with site.Home.OutputFormats.Get "DecapCMSConfig" }}
<link href="{{ .RelPermalink }}" type="text/yaml" rel="cms-config-url" />
{{- end }}
{{ partialCached "decap-cms/hooks/head-end" . }}
</head>
<body>
<script src="{{ default `https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js` site.Params.decap_cms.js_url }}"></script>
Expand Down
Empty file.

0 comments on commit b652d28

Please sign in to comment.