vendor/laravel-frontend-presets/argon/src/argon-stubs/resources/assets/vendor/jekyll/lib/jekyll/tags/post_url.rb
# Construct the directory-aware post slug for a Jekyll::Post
#
# other - the Jekyll::Post
#
# Returns the post slug with the subdirectory (relative to _posts)
Construct the directory-aware post slug for a Jekyll::Post
other - the Jekyll::Post

Returns the post slug with the subdirectory (relative to _posts)
Construct the directory - aware post slug for a Jekyll :: Post other - the Jekyll :: Post Returns the post slug with the subdirectory ( relative to _posts )
def post_slug(other)
        path = other.name.split("/")[0...-1].join("/")
        if path.nil? || path == ""
          other.slug
        else
          path + '/' + other.slug
        end
      end
def post_slug ( other ) path = other . name . split ( "/" ) [ 0 ... - 1 ] . join ( "/" ) if path . nil? || path == "" other . slug else path + '/' + other . slug end end
Construct the directory-aware post slug for a Jekyll::Post
other - the Jekyll::Post
Construct the directory - aware post slug for a Jekyll :: Post other - the Jekyll :: Post
other