Latest Perspectives Poetry Programming Critters Gallery Merch Cloud Bookshelf About
  • Well, would you look at that? Twitter player cards are now a thing in the cards plugin. Just slap a ?card-video query to the end of your video link. Can't believe I didn't think of this earlier @manton.

    Side note: you'll want to title your post and slap in something to pick up as the description until I decide how to register those values invisibly.

    4:15 PM, Dec 9, 2021
  • So I guess we can access the plugin.json file @manton, but its contents will be that of the file from the plugin that wins the merge battle.

    7:07 AM, Dec 9, 2021
  • F$&k it, went ahead and fussed with the cards plugin again. Say hello to horizontal cards.

    6:05 PM, Dec 8, 2021
  • Created a partial for walking the structure of my Micro.blog Hugo build. Not sure why I did it. Also no sure why the recursion is hit or miss.

    3:37 PM, Dec 8, 2021
  • plugin-programmable-search-engine (A README Experience)

    results-page

    A plugin for Micro.blog for adding a site search interface using Google’s programmable search engiine API. It’s code lives here

    Read More

    9:43 AM, Dec 7, 2021
  • While I finish up the README for plugin-programmable-search-engine, thought I’d go ahead and toss out the list of plugin parameters … see if I could give @JohnPhilpin a bit of a fright.

    Read More

    6:25 PM, Dec 6, 2021
  • .@JohnPhilpin

    Since you'd only have seen the video if you were using Gluon, here, again, is a demonstration of how to load non-sponsored plugins via GitHub repository URL:

    9:09 AM, Dec 6, 2021
  • D$cking around with technology keeps me engaged. Started last week with Palo Alto Fit. Nina takes regular InBody measurements to track progress. I love collecting sh$t (including health data) so I'm thinking of creating an iOS shortcut for entering results into Apple Health via shared PNG text-recognition.

    9:01 AM, Dec 6, 2021
  • The programmable search engine Micro.blog plugin is done but for the README explain how to use it.

    5:31 PM, Dec 5, 2021
  • When you've blown through your daily 10,000 query limit set by Google when using their programmable search engine custom search API right on the brink of finalizing the parameterization of CSS variable values for your Micro.blog plugin (and finally being done with it):

    2:37 PM, Dec 4, 2021
  • Animating via CSS transition and the manipulation of custom CSS variables (which will, of course, end up as plugin parameters) from Javascript. Bootstrap class name congestion can go ahead and f$&k off now.

    10:45 AM, Dec 4, 2021
  • So I'll definitely come back to touch up the bookshelf plugin after I'm done piddling with this site search plugin. It was the first plugin I did … so it's missing all the best-practices I've been codifying as well as all the tricks I've learned along the way.

    1:29 PM, Dec 3, 2021
  • .@JohnPhilpin @pimoore @maique @artkavanagh @odd @agilelisa @frostedecho @tda

    I suppose another good primer for my plugins would be a walkthrough explaining all the ways I subvert @manton's web-client-interface-based Hugo configuration in order to grab control over more of the build process:

    config directory allows for safe, opt-in overriding/supplementing of things like the main navigation menu, the site.Author values (which you can straight up make up your own if you remember to access them in all lowercase

    data directory allows you to drop in files with configuration data that become more easily accessible than plugin parameter values and more safely accessed as Hugo automatically parses them appropriately where as the plugin parameter interface saves everything as a string value

    That all sounds scary, but in the end, what it means is that all my (complex) plugins really ask of y'all is to fill out a config file like a form of parameter values … and by making them TOML files included in the plugin itself I get to set you up with a template where I can add comments exaining how each value is used.

    9:50 AM, Dec 3, 2021
  • The Micro.blog programmable search engine plugin is getting damn close to finished now.

    5:00 PM, Dec 2, 2021
  • Closing in on a custom site search Micro.blog plugin.

    3:15 PM, Dec 1, 2021
  • I thought reacquainting myself with Javascript would be more fun … it's just bumming me out that I can't use Swift. Swift really is stellar f$&king programming language.

    9:50 AM, Dec 1, 2021
  • What would really make this sick, @manton, would be letting me drop a hint to your cross-post parser (perhaps via data attribute tag with a URL value) that when cross-posting the cardify-card div should be replaced with a simple link so that other platforms generate their own preview cards in its place.

    5:41 PM, Nov 26, 2021
  • Now that I've injected Bootstrap, rolling my own preview cards by Hugo shortcode is even easier.

    5:08 PM, Nov 26, 2021
  • A footer beneath a post with navigation to the next / previous posts in the current section and a <nav> list in the middle with links to the current post's categories that behaves responsively with regard to screen real estate in that when there are too many categories for an itty bitty screen the category links know to ditch their bullet divider and stack themselves vertically … yeah … I gots it.

    iPhone Portrait:

    iPhone Landscape:

    A Pair of iPad Safari Windows:

    // Next/Prev
    nav#next-prev {
      display: grid;
      grid-template-columns: 100px auto 100px;
      grid-template-areas: "next categories prev";
      margin: 2em 0;
      // width: 350px;
    
      @include media-breakpoint-up(sm) { width: 100%; }
      
      span {
        align-self: center;
        
        &#next { grid-area: next; justify-self: start; }
        
        &#prev { grid-area: prev; justify-self: end; }
        
        a {
          @include eaves-font($np-link-weight, $np-link-style);
          color: $np-link-col;
          &:hover { color: $np-link-hov-col; }
        }
        
      } // span
      
      nav#category-list {
        grid-area: categories;
        max-width: 100%;
        [@include](https://micro.blog/include) hstack(wrap, 
                        $justify: center, 
                        $align: baseline, 
                        $gap: 0.25rem);
        place-self: center;
        line-height: $line-height-sm;
          
        .category-link {
          text-align: center;
          @include eaves-font($np-cat-link-weight, $np-cat-link-style);
          color: $np-cat-link-col;
          
          &:hover { color: $np-cat-link-hov-col; }
                
          &:not(:last-child)::after { content: " •"; }
          
          @include media-breakpoint-down(sm) {
            &:first-child:nth-last-child(n + 3),
            &:first-child:nth-last-child(n + 3) ~ * {
              width: 100%;
              &::after { content: ""; }
            }
            
          }
        
          @include media-breakpoint-up(sm) {
            width: auto;
            &:not(:last-child)::after { content: " •"; }
          }
          
        }
      
      } // nav#category-list
      
    } // nav#next-prev
    
    3:39 PM, Nov 25, 2021
  • Added a realistic highlighter overlay to <mark> tags in my custom Micro.blog theme … f$&k if I know why.

    mark, .yellow-highlighter {
    	position: relative;
    	background-color: transparent;
      
      &::before {
        content: "";
        background: transparent url("/assets/png/highlighter.png") repeat-x;
        background-size: cover;
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        opacity: 0.25;
      }
    }
    

    11:17 AM, Nov 25, 2021
  • Challenge accepted.

    
    #webring {
      display: grid;
      grid-template-columns: auto max-content auto;
      grid-template-areas: "left-arrow label right-arrow";
      place-items: center;
      gap: 1rem;
      
      a:first-child {
        grid-area: left-arrow;
        justify-self: end;
      }
      
      #label {
        grid-area: label;
        margin-top: -0.6ex;
      }
      
      a:last-child {
        grid-area: right-arrow;
        justify-self: start;
      }
      
    }
    
    9:38 AM, Nov 25, 2021
  • Getting my CSS grid layout to play nicely with my iPhone in portrait is driving me bat sh$t crazy.

    4:00 PM, Nov 24, 2021
  • Wonder if using Hugo's resource bundling capability to shove all the Micro.blog plugin Javascript into one file would be worth the time … or the stylesheets for that matter.

    11:31 AM, Nov 24, 2021
  • Wild hair runner up goes to refactoring some of my Sass variables into CSS variables … opening up all kinds of theme parameterization possibilities for the theme consumer without having to know a lick of code.

    <body style="--md-header-bg: var(--md-header-bg-light); --md-footer-bg: var(--md-footer-bg-light); --md-footer-link-color: var(--md-footer-link-color-dark); --md-footer-link-hover-color: var(--md-footer-link-hover-color-dark); --md-nav-link-color: var(--md-nav-link-color-dark); --md-nav-link-hover-color: var(--md-nav-link-hover-color-dark); --md-nav-link-hover-shadow: var(--md-nav-link-hover-shadow-dark); --md-nav-link-selected-shadow: var(--md-nav-link-selected-shadow-dark); --md-copyright-color: var(--md-copyright-color-dark);">
    

    Any one of those MFers could just as easily be {{/* site.Params.my_awesome_parameter_value */}}

    4:00 PM, Nov 23, 2021
  • Today's wild hair award goes to adding the ability to conditionally load Micro.blog plugin assets according to configured page paths in plugin-precision-injection. No README yet, but I'm not sure how many of y'all are up for messing with custom themes to begin with.

    3:53 PM, Nov 23, 2021
Newer Posts614Older Posts
  • RSS
  • JSON Feed
  • Email
An IndieWeb Webring
© 2025 Moondeer Studios. All rights reserved.