Home / All Plugins

Available Plugins (52)

Top Contributors

Most Forked

Most Watched

Most Starred

Grok is a full stack web shop with engineers specializing in Ruby, Rails, PHP, javascript, databases, and general software architecture based in San Antonio, Texas.

We grok the web!

Plugin Information


A Liquid Filter to display the domain name of a url. Originally designed for use with...



This is a Liquid Filter that will display the domain name of a URL.


This was originally developed for use with Jekyll, to register it as a plugin,
copy _plugins/domain_name.filter.rb to your _plugins directory.

How to use it

If you had a variable such as page.url then you could put {{ page.url|domain_name }} in your text
and it would strip any http:// part and the path from the url, leaving you just the domain name.


Copyright (c) 2011, Lawrence Woodman

This software is licensed under an MIT License. Please see the file, LICENSE.md, for details.