First & Last In Tag Lists #126
                  
                    
                      thecodedrift
                    
                  
                
                  announced in
                TIL
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
As part of relaunching Codedrift on the Ghost platform, I wanted to make better looking tag sentences. This is the code that powers the tag segments in the "in X, but also Y, Z, & Q" format.
There's an extra comma when the tag count is exactly three, but there's no easy way to fix that issue without access to a .count property in Ghost.
Beta Was this translation helpful? Give feedback.
All reactions