diff --git a/content/author/_index.md b/content/author/_index.md new file mode 100644 index 0000000..2879385 --- /dev/null +++ b/content/author/_index.md @@ -0,0 +1,3 @@ +--- +title: "Autoren" +--- diff --git a/content/categories/_index.md b/content/categories/_index.md new file mode 100644 index 0000000..fa17fd0 --- /dev/null +++ b/content/categories/_index.md @@ -0,0 +1,3 @@ +--- +title: "Kategorien" +--- diff --git a/content/impressum.md b/content/impressum.md index 6eaa226..4b92fb9 100644 --- a/content/impressum.md +++ b/content/impressum.md @@ -1,6 +1,7 @@ --- title: "Impressum (§ 5 DDG)" layout: impressum +description: "Impressum und Kontaktdaten des build broken Blog-Archivs: Stefan Kölle, München." --- **Stefan Kölle**
diff --git a/content/posts/_index.md b/content/posts/_index.md new file mode 100644 index 0000000..a9f7913 --- /dev/null +++ b/content/posts/_index.md @@ -0,0 +1,3 @@ +--- +title: "Beiträge" +--- diff --git a/content/posts/webservice-mit-asp-classic.md b/content/posts/webservice-mit-asp-classic.md index 58e6349..7408f47 100644 --- a/content/posts/webservice-mit-asp-classic.md +++ b/content/posts/webservice-mit-asp-classic.md @@ -127,8 +127,8 @@ Noch ein paar Bemerkungen: strRet = objRequest.responseText steht in dieser Zeile. - Mit und einer C#-Anwendung (lokal) kann ich auf den Dienst zugreifen, von meinem IIS-Server mit entsprechend geänderter - SOAP-URL () und ausgeschalteter Firewall kommt es zu der Fehlermeldung. + Mit `http://localhost:port` und einer C#-Anwendung (lokal) kann ich auf den Dienst zugreifen, von meinem IIS-Server mit entsprechend geänderter + SOAP-URL (`http://IP:port`) und ausgeschalteter Firewall kommt es zu der Fehlermeldung. Ich benutze die automatisch mit generierte HelloWorld-Funktion, welche ich via ASP aufrufe. diff --git a/content/tags/_index.md b/content/tags/_index.md new file mode 100644 index 0000000..95c1e08 --- /dev/null +++ b/content/tags/_index.md @@ -0,0 +1,3 @@ +--- +title: "Schlagwörter" +--- diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6772173..9639891 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,6 +11,8 @@ {{- $desc := "" }} {{- if .IsHome }} {{- $desc = .Site.Params.description }} + {{- else if .Description }} + {{- $desc = .Description }} {{- else if .Content }} {{- $desc = .Content | plainify }} {{- else if .IsNode }} @@ -57,8 +59,11 @@ {{- if not $desc }}{{ $desc = .Summary | plainify }}{{ end }} {{- $desc = strings.TrimSpace (strings.TrimRight "…" $desc) | truncate 160 }} {{- if $desc }}{{ end }} - - + {{- if eq .Kind "404" }}{{ end }} + {{- if ne .Kind "404" }}{{ end }} + {{- $ogType := "website" }} + {{- if .IsPage }}{{ $ogType = "article" }}{{ end }} + @@ -66,7 +71,7 @@ {{- if .Params.images }} {{- range .Params.images }}{{ end }} {{- else }}{{ end }} - {{- if not .IsHome }}{{ with .Date }}{{ end }}{{ end }} + {{- if .IsPage }}{{ with .Date }}{{ end }}{{ end }} {{- if $desc }}{{ end }} @@ -109,7 +114,7 @@ - + diff --git a/layouts/_default/index.xml b/layouts/_default/index.xml new file mode 100644 index 0000000..a0c638b --- /dev/null +++ b/layouts/_default/index.xml @@ -0,0 +1,25 @@ +{{- $pages := where .Site.RegularPages "Section" "!=" "" }} +{{- $pages = where $pages "File.ContentBase" "!=" "impressum" }} +{{- $limit := .Site.Config.Services.RSS.Limit }} +{{- if ge $limit 1 }} + {{- $pages = $pages | first $limit }} +{{- end }} + + + {{ .Site.Title }} + {{ .Site.BaseURL }} + {{ with .Site.Params.description }}{{ . }}{{ end }} + Hugo -- gohugo.io + {{- with .Language.Locale }}{{ . }}{{ end }} + {{- range $pages }} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" }} + {{ .Permalink }} + {{ .Summary | html }} + {{- with .Params.author }}{{ . }}{{ end }} + + {{- end }} + +