From 86201336a68323f3fb7c50c73c240d613dff96f8 Mon Sep 17 00:00:00 2001 From: jk Date: Tue, 28 Jul 2020 14:13:36 +0100 Subject: [PATCH] updating single page for images with alts --- content/photo/5ee5f1d0/bridgy.json | 176 ------------------ cron_job_is_running | 1 - test | 1 - .../nipponalba/layouts/_default/single.html | 2 +- 4 files changed, 1 insertion(+), 179 deletions(-) delete mode 100644 content/photo/5ee5f1d0/bridgy.json delete mode 100644 cron_job_is_running delete mode 100644 test diff --git a/content/photo/5ee5f1d0/bridgy.json b/content/photo/5ee5f1d0/bridgy.json deleted file mode 100644 index 82eee5a6..00000000 --- a/content/photo/5ee5f1d0/bridgy.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "account":{ - "acct":"jk", - "avatar":"https://social.nipponalba.scot/media/201caaea1889f39529535e829117ad39acdd7db241be2c888363e72bda171c67.jpg?name=profile.jpg", - "avatar_static":"https://social.nipponalba.scot/media/201caaea1889f39529535e829117ad39acdd7db241be2c888363e72bda171c67.jpg?name=profile.jpg", - "bot":false, - "created_at":"2018-12-22T02:47:00.000Z", - "display_name":"J K \ud83c\uddef\ud83c\uddf5\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f", - "emojis":[ - - ], - "fields":[ - { - "name":"homepage", - "value":"jk.nipponalba.scot" - }, - { - "name":"pixelfed", - "value":"jk@px.nipponalba.scot" - }, - { - "name":"pronouns", - "value":"he/him" - }, - { - "name":"politics-y (fairly dormant atm) me", - "value":"@albannach" - } - ], - "follow_requests_count":0, - "followers_count":301, - "following_count":363, - "header":"https://social.nipponalba.scot/media/0838527e6395e51213310a61e4fe5a297efe3b1bd0f96ec4ca9f668dbef65d3f.jpg?name=IMAG0613-edited.jpg", - "header_static":"https://social.nipponalba.scot/media/0838527e6395e51213310a61e4fe5a297efe3b1bd0f96ec4ca9f668dbef65d3f.jpg?name=IMAG0613-edited.jpg", - "id":"1", - "locked":false, - "note":"Quintessentially Celtic, vehemently Viking, passionately European, unashamedly, proudly Scottish, craft beer and single malt whisky lover, enthusiastic cook, vegan, perpetually exhausted dad.

https://jk.nipponalba.scot

#nobot", - "pleroma":{ - "allow_following_move":true, - "background_image":"https://social.nipponalba.scot/media/570bb010636742daca3b3255b0043f3a3b7be8b3921b10135de239a5ff4cdf8c.png?name=fatherline-haplogroup-frequencies.png", - "confirmation_pending":false, - "deactivated":false, - "hide_favorites":true, - "hide_followers":true, - "hide_followers_count":false, - "hide_follows":true, - "hide_follows_count":false, - "is_admin":true, - "is_moderator":true, - "notification_settings":{ - "followers":true, - "follows":true, - "non_followers":true, - "non_follows":true, - "privacy_option":false - }, - "relationship":{ - "blocked_by":false, - "blocking":false, - "domain_blocking":false, - "endorsed":false, - "followed_by":false, - "following":false, - "id":"1", - "muting":false, - "muting_notifications":false, - "requested":false, - "showing_reblogs":true, - "subscribing":false - }, - "skip_thread_containment":false, - "tags":[ - - ], - "unread_conversation_count":12693 - }, - "source":{ - "fields":[ - { - "name":"homepage", - "value":"jk.nipponalba.scot" - }, - { - "name":"pixelfed", - "value":"jk@px.nipponalba.scot" - }, - { - "name":"pronouns", - "value":"he/him" - }, - { - "name":"politics-y (fairly dormant atm) me", - "value":"@albannach" - } - ], - "note":"Quintessentially Celtic, vehemently Viking, passionately European, unashamedly, proudly Scottish, craft beer and single malt whisky lover, enthusiastic cook, vegan, perpetually exhausted dad.\n\nhttps://jk.nipponalba.scot\n\n#nobot", - "pleroma":{ - "actor_type":"Person", - "discoverable":true, - "no_rich_text":false, - "show_role":true - }, - "privacy":"public", - "sensitive":false - }, - "statuses_count":1382, - "url":"https://social.nipponalba.scot/users/jk", - "username":"jk" - }, - "application":{ - "name":"Web", - "website":null - }, - "bookmarked":false, - "card":null, - "content":"My daughter\u2019s morning in 3 acts..



(https://jk.nipponalba.scot/media/file-20200614104551-9558.jpg)", - "created_at":"2020-06-14T09:45:59.000Z", - "emojis":[ - - ], - "favourited":false, - "favourites_count":0, - "id":"9w4OLKtfsmjvzqgeDg", - "in_reply_to_account_id":null, - "in_reply_to_id":null, - "language":null, - "media_attachments":[ - { - "description":"file.jpg", - "id":"-643834558", - "pleroma":{ - "mime_type":"image/jpeg" - }, - "preview_url":"https://social.nipponalba.scot/media/93f8bc241e6962cfb3b476037bd6facdda0e2a462a600942238cc14278c24550.jpg?name=file.jpg", - "remote_url":"https://social.nipponalba.scot/media/93f8bc241e6962cfb3b476037bd6facdda0e2a462a600942238cc14278c24550.jpg?name=file.jpg", - "text_url":"https://social.nipponalba.scot/media/93f8bc241e6962cfb3b476037bd6facdda0e2a462a600942238cc14278c24550.jpg?name=file.jpg", - "type":"image", - "url":"https://social.nipponalba.scot/media/93f8bc241e6962cfb3b476037bd6facdda0e2a462a600942238cc14278c24550.jpg?name=file.jpg" - } - ], - "mentions":[ - - ], - "muted":false, - "pinned":false, - "pleroma":{ - "content":{ - "text/plain":"My daughter\u2019s morning in 3 acts.. (https://jk.nipponalba.scot/media/file-20200614104551-9558.jpg)" - }, - "conversation_id":11238153, - "direct_conversation_id":null, - "emoji_reactions":[ - - ], - "expires_at":null, - "in_reply_to_account_acct":null, - "local":true, - "spoiler_text":{ - "text/plain":"" - }, - "thread_muted":false - }, - "poll":null, - "reblog":null, - "reblogged":false, - "reblogs_count":0, - "replies_count":0, - "sensitive":false, - "spoiler_text":"", - "tags":[ - - ], - "uri":"https://social.nipponalba.scot/objects/293eb2ce-314d-4371-90c9-e1e834eb87a1", - "url":"https://social.nipponalba.scot/notice/9w4OLKtfsmjvzqgeDg", - "visibility":"public" -} \ No newline at end of file diff --git a/cron_job_is_running b/cron_job_is_running deleted file mode 100644 index 3bad656c..00000000 --- a/cron_job_is_running +++ /dev/null @@ -1 +0,0 @@ -pull job run diff --git a/test b/test deleted file mode 100644 index 038d718d..00000000 --- a/test +++ /dev/null @@ -1 +0,0 @@ -testing diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index 35e557d8..3bde3e79 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -15,7 +15,7 @@ {{ if eq .Type "photo"}}
{{ range .Page.Params.Photo }} - {{ if in . "value" }} + {{ if isset . "value" }} {{ .alt }} {{ else }} Alt not yet added, will fix!