Convert site to Hugo (#8316)
This commit converts content and layout to use Hugo.
This commit is contained in:
committed by
k8s-ci-robot
parent
7745f0e0c5
commit
7f3b633aa0
@@ -0,0 +1,25 @@
|
||||
{{ define "content" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
<script type="text/javascript">
|
||||
document.write('<gcse:searchresults-only linktarget="_parent"></gcse:searchresults-only>');
|
||||
</script>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
var cx = '013288817511911618469:elfqqbqldzg';
|
||||
var gcse = document.createElement('script');
|
||||
gcse.type = 'text/javascript';
|
||||
gcse.async = true;
|
||||
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
|
||||
'//cse.google.com/cse.js?cx=' + cx;
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(gcse, s);
|
||||
|
||||
document.querySelector('html').classList.add('search');
|
||||
})();
|
||||
</script>
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user