mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-21 02:04:25 +01:00
initial commit
This commit is contained in:
@@ -63,8 +63,8 @@
|
||||
drawer2: true,
|
||||
toc: 0,
|
||||
branches: [
|
||||
{ value: 'https://docs.pycom.io', text: 'version stable', } ,
|
||||
{ value: 'https://development.pycom.io', text: 'version development'}
|
||||
{ value: 'https://development.pycom.io', text: 'development version'},
|
||||
{ value: 'https://docs.pycom.io', text: 'version stable', }
|
||||
],
|
||||
branch: ""
|
||||
},
|
||||
@@ -102,7 +102,7 @@
|
||||
fetchResults (kw, start) {
|
||||
if (!start) { start = 1 }
|
||||
let key = "AIzaSyD4-MGytNzTCZpTH6UYk1mfOxZkt74T5MI";
|
||||
let cx = "004592132197158309932:anluf60c9w8";
|
||||
let cx = "004592132197158309932:jleutbge8gs";
|
||||
let url = "https://www.googleapis.com/customsearch/v1";
|
||||
url = url + "?cx=" + cx + "&key=" + key + "&q=" + encodeURI(kw) + "&start=" + start
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<v-card>
|
||||
<v-card-text>
|
||||
{{ partial "breadcrumb_recursive.html" (dict "menu" .Site.Menus.main "page" . ) }}
|
||||
<h1>{{- .Title -}}</h1>
|
||||
{{ if .Title }}<h1>{{- .Title -}}</h1>{{ end }}
|
||||
{{- .Content -}}
|
||||
<ul>
|
||||
{{ if lt .WordCount 10 }}
|
||||
@@ -16,4 +16,7 @@
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
<p> </p>
|
||||
{{ partial "prev_next.html" (dict "menu" .Site.Menus.main "page" . ) }}{{ end }}
|
||||
{{ partial "prev_next.html" (dict "menu" .Site.Menus.main "page" . ) }}
|
||||
|
||||
|
||||
{{ end }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{ $p := .Get 0 }}
|
||||
{{ with .Page.GetPage $p }}
|
||||
<a href="{{ .URL }}">{{ .Title }}</a>
|
||||
<a href="{{ $p }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user