diff options
author | d-asnaghi <asnaghi@me.com> | 2020-05-17 21:57:49 +0300 |
---|---|---|
committer | d-asnaghi <asnaghi@me.com> | 2020-05-17 21:57:49 +0300 |
commit | 1e1abd2e31c6727c820f683be01c4f7c650198d1 (patch) | |
tree | 1870614a2ef9db1ea55ceb16aaa4790ef372ab6e /layouts | |
parent | 66cc1bc0072a9f66c8f118231fb56fb1f8c6ee16 (diff) |
[CMS] added netlify support
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/header.html | 1 | ||||
-rw-r--r-- | layouts/partials/netlify-cms.html | 2 | ||||
-rw-r--r-- | layouts/partials/netlify-identity.html | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e0be750..917838f 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -9,4 +9,5 @@ <style> :root{--site-background : url("{{ .Params.background | default "images/bg.jpg" | absURL }}")}; </style> + {{ partial "netlify-cms.html" .}} </head>
\ No newline at end of file diff --git a/layouts/partials/netlify-cms.html b/layouts/partials/netlify-cms.html new file mode 100644 index 0000000..1e671e7 --- /dev/null +++ b/layouts/partials/netlify-cms.html @@ -0,0 +1,2 @@ +<!-- Include the script that builds the page and powers Netlify CMS --> +<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
\ No newline at end of file diff --git a/layouts/partials/netlify-identity.html b/layouts/partials/netlify-identity.html new file mode 100644 index 0000000..ab43efc --- /dev/null +++ b/layouts/partials/netlify-identity.html @@ -0,0 +1,2 @@ +<!-- Include the script that enables Netlify Identity on this page. --> +<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
\ No newline at end of file |