1167f27939
* Initial commit for the new widgets section * Placing all the widgets and refining the CSS and Hugo logic * Initial commit for the new widgets section * Placing all the widgets and refining the CSS and Hugo logic * Rebased and updated the info according to @verythorough contribution * Fixing the yaml codes for the relation and select widget sections * Merging with widgets.md and app.j * Fixing some silly mistakes (sorry!) * Following @verythorough contributions :) * Adding the markdown widget and fixing the widgets container background * Adding the URL functionality and myself as a contributor :) * Adding myself as a contributor :)
29 lines
1.2 KiB
HTML
Executable File
29 lines
1.2 KiB
HTML
Executable File
<footer>
|
|
<p class="contained"><a href="https://github.com/netlify/netlify-cms/blob/master/LICENSE" class="text-link">Distributed under MIT License</a> ·
|
|
<a href="https://github.com/netlify/netlify-cms/blob/master/CODE_OF_CONDUCT.md" class="text-link">Code of Conduct</a></p>
|
|
</footer>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
|
{{ if or (eq .Section "docs") (eq .Title "Docs") }}
|
|
<script src="/jquery.scrollTo.min.js"></script>
|
|
<script src="/jquery.localScroll.min.js"></script>
|
|
<script src="/prism.js"></script>
|
|
{{ end }}
|
|
{{ if eq .Title "Community" }}
|
|
<script src="/moment.min.js"></script>
|
|
{{ end }}
|
|
<script src="/app.js"></script>
|
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
|
|
<script type="text/javascript"> docsearch({
|
|
apiKey: '08d03dc80862e84c70c5a1e769b13019',
|
|
indexName: 'netlifycms',
|
|
inputSelector: '.algolia-search',
|
|
debug: false // Set debug to true if you want to inspect the dropdown
|
|
});
|
|
</script>
|
|
{{- if eq .Title "Widgets" -}} <!-- Check if is widgets page, if so, add the widget cloud js script -->
|
|
<script src="/widgets.js"></script>
|
|
{{- end -}}
|
|
</body>
|
|
</html>
|