diff --git a/config.toml b/config.toml index 66350b9..d3ee132 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ baseurl = "//www.paulbsd.com/" -languageCode = "en-us" +languageCode = "en-gb" title = "PaulBSD website" googleAnalytics = "" paginate = 10 diff --git a/themes/hugo-theme-wave/layouts/404.html b/themes/hugo-theme-wave/layouts/404.html index fee66be..c985902 100644 --- a/themes/hugo-theme-wave/layouts/404.html +++ b/themes/hugo-theme-wave/layouts/404.html @@ -9,14 +9,14 @@

-

-

- {{with .Site.Data.l10n.page_not_found.title}}{{.}}{{end}} -

-

- {{with .Site.Data.l10n.page_not_found.subtitle}}{{.}}{{end}} -

-
+
+

+ {{with .Site.Data.l10n.page_not_found.title}}{{.}}{{end}} +

+

+ {{with .Site.Data.l10n.page_not_found.subtitle}}{{.}}{{end}} +

+

@@ -29,4 +29,4 @@ {{ partial "footer" . }} - \ No newline at end of file + diff --git a/themes/hugo-theme-wave/layouts/_default/list.html b/themes/hugo-theme-wave/layouts/_default/list.html index 328ef8e..14f3387 100644 --- a/themes/hugo-theme-wave/layouts/_default/list.html +++ b/themes/hugo-theme-wave/layouts/_default/list.html @@ -1,27 +1,27 @@ {{ partial "head" . }} {{ partial "header" . }}
-
-
-
-
- {{ .Title }} -
-
- {{ $pages := .Pages }} - {{ if .IsHome }} - {{ $pages = .Site.RegularPages }} - {{ end }} - {{ $paginator := .Paginate $pages }} - {{ range $paginator.Pages }} - {{ .Render "summary" }} - {{ end }} -
-
- {{ partial "pagination" . }} -
- {{ partial "sidebar" . }} -
+
+
+
+
+ {{ .Title }} +
+
+ {{ $pages := .Pages }} + {{ if .IsHome }} + {{ $pages = .Site.RegularPages }} + {{ end }} + {{ $paginator := .Paginate $pages }} + {{ range $paginator.Pages }} + {{ .Render "summary" }} + {{ end }} +
+
+ {{ partial "pagination" . }} +
+ {{ partial "sidebar" . }} +
{{ partial "footer" . }} diff --git a/themes/hugo-theme-wave/layouts/_default/single.html b/themes/hugo-theme-wave/layouts/_default/single.html index 9dc767e..1af6123 100644 --- a/themes/hugo-theme-wave/layouts/_default/single.html +++ b/themes/hugo-theme-wave/layouts/_default/single.html @@ -2,10 +2,10 @@ {{ partial "header" . }}
-
+
{{ partial "single_article" . }} {{ partial "sidebar" . }} -
+
{{ partial "footer" . }} diff --git a/themes/hugo-theme-wave/layouts/_default/summary.html b/themes/hugo-theme-wave/layouts/_default/summary.html index 114c351..c8646aa 100644 --- a/themes/hugo-theme-wave/layouts/_default/summary.html +++ b/themes/hugo-theme-wave/layouts/_default/summary.html @@ -1,26 +1,26 @@
-
+
-
+
- {{ if isset .Params "banner" }} - - - - {{ else }} - - - - {{ end }} -
-
-

- {{ .Title }} -

- -
+ {{ if isset .Params "banner" }} + + + + {{ else }} + + + + {{ end }}
+
+

+ {{ .Title }} +

+ +
+
diff --git a/themes/hugo-theme-wave/layouts/_default/terms.html b/themes/hugo-theme-wave/layouts/_default/terms.html index 45e2fd1..56c83e7 100644 --- a/themes/hugo-theme-wave/layouts/_default/terms.html +++ b/themes/hugo-theme-wave/layouts/_default/terms.html @@ -1,26 +1,26 @@ {{ partial "head" . }} {{ partial "header" . }}
-
-
-
-
- {{ .Title }} -
-
-
    - {{ $data := .Data }} {{ range $key, $value := .Data.Terms.ByCount }} -
  • - {{ $value.Name }} - {{ $value.Count }} -
  • - {{ end }} -
-
-
-
- {{ partial "sidebar" . }} -
+
+
+
+
+ {{ .Title }} +
+
+
    + {{ $data := .Data }} {{ range $key, $value := .Data.Terms.ByCount }} +
  • + {{ $value.Name }} + {{ $value.Count }} +
  • + {{ end }} +
+
+
+
+ {{ partial "sidebar" . }} +
{{ partial "footer" . }} diff --git a/themes/hugo-theme-wave/layouts/archive/single.html b/themes/hugo-theme-wave/layouts/archive/single.html index 0a5b016..53e454f 100644 --- a/themes/hugo-theme-wave/layouts/archive/single.html +++ b/themes/hugo-theme-wave/layouts/archive/single.html @@ -2,37 +2,37 @@ {{ partial "header" . }}
-
+
-
-
- -
- {{ .Content }} - {{ range (where .Site.RegularPages "Type" "post") }} -

- - {{ .Title }} -

- - {{ end }} -
+
+
+ +
+ {{ .Content }} + {{ range (where .Site.RegularPages "Type" "post") }} +

+ + {{ .Title }} +

+ + {{ end }}
+
diff --git a/themes/hugo-theme-wave/layouts/index.html b/themes/hugo-theme-wave/layouts/index.html index 6b3e35a..8a47b02 100644 --- a/themes/hugo-theme-wave/layouts/index.html +++ b/themes/hugo-theme-wave/layouts/index.html @@ -1,22 +1,17 @@ -{{ partial "head" . }} - - -
-
- {{ partial "header" . }} - - -
- - {{ partial "article_list" . }} - {{ partial "sidebar" . }} - + {{ partial "head" . }} + +
+
+ {{ partial "header" . }} + +
+ {{ partial "article_list" . }} + {{ partial "sidebar" . }} +
-
- {{ partial "footer" . }} - - - \ No newline at end of file + {{ partial "footer" . }} + + diff --git a/themes/hugo-theme-wave/layouts/partials/article_first.html b/themes/hugo-theme-wave/layouts/partials/article_first.html index bb7b842..0bbd75a 100644 --- a/themes/hugo-theme-wave/layouts/partials/article_first.html +++ b/themes/hugo-theme-wave/layouts/partials/article_first.html @@ -4,10 +4,10 @@ A simple, lightweight theme

- You've reached the website for Arch Linux user, I was in mobile-enabled. + You've reached the website for Arch Linux user, I was in mobile-enabled.

\ No newline at end of file +
+--> diff --git a/themes/hugo-theme-wave/layouts/partials/article_footer.html b/themes/hugo-theme-wave/layouts/partials/article_footer.html index 7a2f7bb..6fc60dd 100644 --- a/themes/hugo-theme-wave/layouts/partials/article_footer.html +++ b/themes/hugo-theme-wave/layouts/partials/article_footer.html @@ -1,9 +1,9 @@
{{ end }} {{ partial "pagination" . }} - \ No newline at end of file + diff --git a/themes/hugo-theme-wave/layouts/partials/footer.html b/themes/hugo-theme-wave/layouts/partials/footer.html index dd85634..e3cb405 100644 --- a/themes/hugo-theme-wave/layouts/partials/footer.html +++ b/themes/hugo-theme-wave/layouts/partials/footer.html @@ -5,7 +5,7 @@ © {{ now.Format "2006" }} paulbsd.
{{ with .Site.Params.copyright }}{{ . | markdownify}}{{ end }} - + - \ No newline at end of file + diff --git a/themes/hugo-theme-wave/layouts/partials/footer_js.html b/themes/hugo-theme-wave/layouts/partials/footer_js.html index 0dd7979..7cee537 100644 --- a/themes/hugo-theme-wave/layouts/partials/footer_js.html +++ b/themes/hugo-theme-wave/layouts/partials/footer_js.html @@ -16,7 +16,7 @@ - \ No newline at end of file + + --> + diff --git a/themes/hugo-theme-wave/layouts/partials/head.html b/themes/hugo-theme-wave/layouts/partials/head.html index 35d84ba..f7179bc 100644 --- a/themes/hugo-theme-wave/layouts/partials/head.html +++ b/themes/hugo-theme-wave/layouts/partials/head.html @@ -1,41 +1,41 @@ - {{ .Title }} - - - {{ with .Site.Params.author }} - - {{ end }} - {{ with .Site.Params.site_description }} - - {{ end }} + {{ .Title }} + + + {{ with .Site.Params.author }} + + {{ end }} + {{ with .Site.Params.site_description }} + + {{ end }} - - - - - - - - - - + + + + + + + + + - + + - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/themes/hugo-theme-wave/layouts/partials/header.html b/themes/hugo-theme-wave/layouts/partials/header.html index 784ee78..b12ec5a 100644 --- a/themes/hugo-theme-wave/layouts/partials/header.html +++ b/themes/hugo-theme-wave/layouts/partials/header.html @@ -12,8 +12,8 @@ {{ partial "navbar-menu" . }} {{ partial "navbar-icon" . }} + {{ partial "navbar-search" . }} + --> @@ -22,4 +22,4 @@ - \ No newline at end of file + diff --git a/themes/hugo-theme-wave/layouts/partials/navbar-icon.html b/themes/hugo-theme-wave/layouts/partials/navbar-icon.html index 8082cc2..e8f997f 100644 --- a/themes/hugo-theme-wave/layouts/partials/navbar-icon.html +++ b/themes/hugo-theme-wave/layouts/partials/navbar-icon.html @@ -1,5 +1,5 @@
  • - +
  • @@ -17,4 +17,4 @@ - \ No newline at end of file + diff --git a/themes/hugo-theme-wave/layouts/partials/navbar-menu.html b/themes/hugo-theme-wave/layouts/partials/navbar-menu.html index 2695f08..2226968 100644 --- a/themes/hugo-theme-wave/layouts/partials/navbar-menu.html +++ b/themes/hugo-theme-wave/layouts/partials/navbar-menu.html @@ -1,7 +1,7 @@
  • Home
  • \ No newline at end of file + diff --git a/themes/hugo-theme-wave/layouts/partials/navbar-search.html b/themes/hugo-theme-wave/layouts/partials/navbar-search.html index ea063da..2af09f0 100644 --- a/themes/hugo-theme-wave/layouts/partials/navbar-search.html +++ b/themes/hugo-theme-wave/layouts/partials/navbar-search.html @@ -1,7 +1,7 @@ - \ No newline at end of file + diff --git a/themes/hugo-theme-wave/layouts/partials/social.html b/themes/hugo-theme-wave/layouts/partials/social.html index c0b54c5..7107dc6 100644 --- a/themes/hugo-theme-wave/layouts/partials/social.html +++ b/themes/hugo-theme-wave/layouts/partials/social.html @@ -76,7 +76,7 @@ {{ with .Site.Social.stackoverflow }} + class="fa fa-stackoverflow"> {{ end }} {{ with .Site.Social.reddit }} @@ -97,4 +97,4 @@ {{ with .Site.Social.twitter }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/themes/hugo-theme-wave/layouts/partials/title.html b/themes/hugo-theme-wave/layouts/partials/title.html index 0ed5cfd..a0c5ead 100644 --- a/themes/hugo-theme-wave/layouts/partials/title.html +++ b/themes/hugo-theme-wave/layouts/partials/title.html @@ -1,14 +1,14 @@ - \ No newline at end of file + diff --git a/themes/hugo-theme-wave/layouts/partials/widgets/download.html b/themes/hugo-theme-wave/layouts/partials/widgets/download.html index 87d0d43..b595321 100644 --- a/themes/hugo-theme-wave/layouts/partials/widgets/download.html +++ b/themes/hugo-theme-wave/layouts/partials/widgets/download.html @@ -2,7 +2,7 @@
    -
    \ No newline at end of file + diff --git a/themes/hugo-theme-wave/layouts/partials/widgets/recent_articles.html b/themes/hugo-theme-wave/layouts/partials/widgets/recent_articles.html index 455fb56..969d63f 100644 --- a/themes/hugo-theme-wave/layouts/partials/widgets/recent_articles.html +++ b/themes/hugo-theme-wave/layouts/partials/widgets/recent_articles.html @@ -8,11 +8,11 @@ Posts - {{ range first 10 (where .Site.RegularPages "Type" "post") }} + {{ range first 10 (where .Site.RegularPages "Type" "post") }} -
  • {{ .Title }}
  • - {{ end }} +
  • {{ .Title }}
  • + {{ end }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/themes/hugo-theme-wave/layouts/partials/widgets/update.html b/themes/hugo-theme-wave/layouts/partials/widgets/update.html index e9e30f2..83d820e 100644 --- a/themes/hugo-theme-wave/layouts/partials/widgets/update.html +++ b/themes/hugo-theme-wave/layouts/partials/widgets/update.html @@ -22,7 +22,7 @@ rp-pppoe 3.12-1 i686/x86_64 + href="/packages/extra/x86_64/rp-pppoe/" title="Details for rp-pppoe [extra]">x86_64 @@ -30,7 +30,7 @@ gsound 1.0.2-1 i686/x86_64 + href="/packages/extra/x86_64/gsound/" title="Details for gsound [extra]">x86_64 @@ -38,7 +38,7 @@ go-ipfs 0.3.11-1 i686/x86_64 + href="/packages/community/x86_64/go-ipfs/" title="Details for go-ipfs [community]">x86_64 @@ -60,7 +60,7 @@ gpsbabel 1.5.3-1 i686/x86_64 + href="/packages/community/x86_64/gpsbabel/" title="Details for gpsbabel [community]">x86_64 @@ -68,7 +68,7 @@ marble 15.12.1-2 i686/x86_64 + href="/packages/extra/x86_64/marble/" title="Details for marble [extra]">x86_64 @@ -76,7 +76,7 @@ kdepimlibs 15.12.1-1 i686/x86_64 + href="/packages/extra/x86_64/kdepimlibs/" title="Details for kdepimlibs [extra]">x86_64 @@ -84,7 +84,7 @@ libkdcraw 15.12.1-1 i686/x86_64 + href="/packages/extra/x86_64/libkdcraw/" title="Details for libkdcraw [extra]">x86_64 @@ -92,7 +92,7 @@ dolphin-plugins 15.12.1-1 i686/x86_64 + href="/packages/extra/x86_64/dolphin-plugins/" title="Details for dolphin-plugins [extra]">x86_64 @@ -100,7 +100,7 @@ bomber 15.12.1-1 i686/x86_64 + href="/packages/extra/x86_64/bomber/" title="Details for bomber [extra]">x86_64 @@ -108,9 +108,9 @@ kross-interpreters 15.12.1-1 i686/x86_64 + title="Details for kross-interpreters [extra]">i686/x86_64 @@ -118,11 +118,11 @@ kmplot 15.12.1-1 i686/x86_64 + href="/packages/extra/x86_64/kmplot/" title="Details for kmplot [extra]">x86_64 - \ No newline at end of file + diff --git a/themes/hugo-theme-wave/static/js/main.js b/themes/hugo-theme-wave/static/js/main.js index b649d0b..d100025 100644 --- a/themes/hugo-theme-wave/static/js/main.js +++ b/themes/hugo-theme-wave/static/js/main.js @@ -1,7 +1,7 @@ // dip service function main() { - var jqxhr = + var jqxhr = $.ajax({ type: "GET", url: "https://ip.paulbsd.com", @@ -10,7 +10,10 @@ function main() { 'Accept': 'application/json', }, dataType: 'json', - }).done(function(data){ console.log(transformIPInfo(data)) }); + }).done(function(data) { + var dip = $('#dip'); + dip[0].text = data.ip; + }); return jqxhr; }