initial commit

This commit is contained in:
Emmanuel Florent
2019-06-17 17:16:17 +02:00
parent 48e3a22c9e
commit 699a9f30ec
118 changed files with 253 additions and 217 deletions

View File

@@ -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

View File

@@ -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>&nbsp;</p>
{{ partial "prev_next.html" (dict "menu" .Site.Menus.main "page" . ) }}{{ end }}
{{ partial "prev_next.html" (dict "menu" .Site.Menus.main "page" . ) }}
{{ end }}

View File

@@ -1,4 +1,4 @@
{{ $p := .Get 0 }}
{{ with .Page.GetPage $p }}
<a href="{{ .URL }}">{{ .Title }}</a>
<a href="{{ $p }}">{{ .Title }}</a>
{{ end }}