Skip to content

traceypooh/poohbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poohbot

tracey pooh's site & blog, static site generated

todo

cd ~/poohbot/comments; gg qtfast;
# user email may not be showing up same/right, compared to:
cd ~/bup/WP; cat comments-wp.json|jq .|fgrep -C10 qtfast

bikes

  • puch
  • purple bike
  • bmx silver red checkered
  • blue 10 speed
  • trek ~860 mtn bike
  • blue carbon fork road bike (=> NH)
  • trek white road bike (=> Irvine)
  • cape fixie
  • trek boone
  • trek supercaliber

Comments setup

I'm using a forked version of Staticman here:

https://github.com/traceypooh/staticmin

that is hosted free on https://netlify.com and you can, too!

  • See staticman.yml for the setup.
  • Submitted comments go into approval (by you) mode, where your GitHub repo hosting your blog/site gets a "Pull Request" and new branch for each comment.
  • Current setup puts comments in comments/ top-level subdir, as JSON files.
  • Each post or page gets the comment added to a comments/ subdir, based on the corresponding post/page's path name example

404s fixme xxx

aliases

  • /img => /images
  • /albums/thumbs => /albums/images
gg kml.php
gg featured-click
  • /video/ and /lapses/ - switch to CSS grid for centering filmstrip
  • /video/ and /lapses/ - 'Play all'
  • pick 2 random posts for left side
  • make videos take up full 854px wide (720x480 now)
  • link any local tag in a post to fullsize naked img?
  • embed: in .md auto does archive.org iframe..

map route fails

gg https://traceypooh.com/alc/morgan-territory/kml.kml

GPS removal

exiftool "-gps*=" file1.jpg file2.jpg ...

CSP

gg -i onclick
gg -i '<script>' |chopper
gg '<style[^U]' |chopper |fgrep '<style'
gg 'style='

helpful related links

crawl site to find any 404s

wget --spider -o log -e robots=off -w 1 -r -nv -p https://traceypooh.com && fgrep -B1 'not exist' log

Could Use

  • layouts/shortcodes/fancybox.html
{{% fancybox path="/img" file="k8.png" caption="golly" gallery="the-met" %}}

{{%/* fig class="full"
    src="http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg"
    title="One of my favorite touristy-type photos. I secretly waited for the
    good light while we were having fun and took this. Only regret: a stupid
    pole in the top-left corner of the frame I had to clumsily get rid of at
    post-processing."
    link="http://www.flickr.com/photos/alexnormand/4829260124/in/
            set-72157624547713078/" */%}}

archive.org embeds

<iframe src="https://archive.org/embed/ID" width="854" height="480" frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen></iframe>

theme setup

initial setup

make a post

bin/post

for imagery, see

bin/avif-blog-img

# imagery is nice/fullsize at 880px wide, preview/shows at 880x375 (2.35:1) where you can
# pick to show more of the top or bottom..
#   featured: littlefingers.jpg#top
#   featured: https://archive.org/download/reremaster/both10107.jpg#bottom
# 880x495 is nice 16:9 pic size

# center an image into 880x495 black background:
# convert -size 880x495 xc:black in.jpg -gravity center -composite x.jpg; identify x.jpg; open x.jpg

# more recently, have been using `Photos` to export pix to "max dimension" of 2016px, since
# my iphone 12 mini shoots at 4032px on the long side

Try ispell spell checker before you publish (commit & push). ( brew install ispell )

run and/or make public/ subdir

  • brew install hugo caddy
  • ensures fresh - removes prior run
  • gogo
    • CTL-C at any point..

contact me / emails

browser search

files involved:

[outputs]
  home                  = ["html", "json", "rss"]

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •