diff --git a/content/note/5ef085b9/index.md b/content/note/5ef085b9/index.md new file mode 100644 index 00000000..7f218ad9 --- /dev/null +++ b/content/note/5ef085b9/index.md @@ -0,0 +1,26 @@ +--- +category: + - webmention + - micropub + - hugo + - css + - html5 +date: '2020-06-22 11:19:37' +draft: false +posttype: note +slug: 5ef085b9 +visibility: public +--- +OK, I think I'm reasonably happy with my site now.. + +I finally found out how to deal with hyphens in frontmatter in hugo (the documentation of which is a lesson in frustration).. Now to see when I hit post if reverting my micropub endpoint hacks have broken anything.. + +I'm now using a webmentions hook to deliver interactions to the site.. though, I want to fiddle a bit with nginx to move some of the php files to a non-public directory.. + +I've given the html a semantic overhaul which will hopefully make it reasonably accessible though there will be more work to do there (particularly around captions and alt tags for images). + +In this vein I also removed all floats (I think) and am using grid and flex for layout. Have dropped a bunch of excess html and css too.. + +Have hidden my switch to 日本語 button until such time as I actually have a reasonable amount of Japanese or bilingual content. + +Still a work in progress but much further down the line than previously. diff --git a/hugo.log b/hugo.log index 04fa3313..a9e2578d 100644 --- a/hugo.log +++ b/hugo.log @@ -830,3 +830,15 @@ ERROR 2020/06/20 00:31:31 render of "page" failed: "/var/www/nipponalba/jk_na/th ERROR 2020/06/20 00:31:31 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:37:41": execute of template failed: template: _default/single.html:37:41: executing "main" at <$mJSON.url>: invalid value; expected string ERROR 2020/06/20 00:31:31 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:37:41": execute of template failed: template: _default/single.html:37:41: executing "main" at <$mJSON.url>: invalid value; expected string ERROR 2020/06/20 00:31:31 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:37:41": execute of template failed: template: _default/single.html:37:41: executing "main" at <$mJSON.url>: invalid value; expected string +ERROR 2020/06/22 11:19:39 Failed to get JSON resource "https://jk.nipponalba.scot/note/5ee615e5/bridgy.json": Get "https://jk.nipponalba.scot/note/5ee615e5/bridgy.json": dial tcp 127.0.0.1:443: connect: connection refused +ERROR 2020/06/22 11:19:39 Failed to get JSON resource "https://jk.nipponalba.scot/note/5eea8190/bridgy.json": Get "https://jk.nipponalba.scot/note/5eea8190/bridgy.json": dial tcp 127.0.0.1:443: connect: connection refused +ERROR 2020/06/22 11:19:39 Failed to get JSON resource "https://jk.nipponalba.scot/note/5eeb42db/bridgy.json": Get "https://jk.nipponalba.scot/note/5eeb42db/bridgy.json": dial tcp 127.0.0.1:443: connect: connection refused +ERROR 2020/06/22 11:19:39 Failed to get JSON resource "https://jk.nipponalba.scot/note/5ee7da9b/bridgy.json": Get "https://jk.nipponalba.scot/note/5ee7da9b/bridgy.json": dial tcp 127.0.0.1:443: connect: connection refused +ERROR 2020/06/22 11:19:39 Failed to get JSON resource "https://jk.nipponalba.scot/note/5eeb3c7a/bridgy.json": Get "https://jk.nipponalba.scot/note/5eeb3c7a/bridgy.json": dial tcp 127.0.0.1:443: connect: connection refused +ERROR 2020/06/22 11:19:39 Failed to get JSON resource "https://jk.nipponalba.scot/note/5eeb4790/bridgy.json": Get "https://jk.nipponalba.scot/note/5eeb4790/bridgy.json": dial tcp 127.0.0.1:443: connect: connection refused +ERROR 2020/06/22 11:19:39 Failed to get JSON resource "https://jk.nipponalba.scot/note/5eecdfdf/bridgy.json": Get "https://jk.nipponalba.scot/note/5eecdfdf/bridgy.json": dial tcp 127.0.0.1:443: connect: connection refused +ERROR 2020/06/22 11:19:39 Failed to get JSON resource "https://jk.nipponalba.scot/photo/5ee5f1d0/bridgy.json": Get "https://jk.nipponalba.scot/photo/5ee5f1d0/bridgy.json": dial tcp 127.0.0.1:443: connect: connection refused +ERROR 2020/06/22 11:19:39 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:34:41": execute of template failed: template: _default/single.html:34:41: executing "main" at <$mJSON.url>: invalid value; expected string +ERROR 2020/06/22 11:19:39 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:34:41": execute of template failed: template: _default/single.html:34:41: executing "main" at <$mJSON.url>: invalid value; expected string +ERROR 2020/06/22 11:19:39 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:34:41": execute of template failed: template: _default/single.html:34:41: executing "main" at <$mJSON.url>: invalid value; expected string +ERROR 2020/06/22 11:19:39 render of "page" failed: "/var/www/nipponalba/jk_na/themes/nipponalba/layouts/_default/single.html:34:41": execute of template failed: template: _default/single.html:34:41: executing "main" at <$mJSON.url>: invalid value; expected string