Below you will find pages that utilize the taxonomy term “Edge Case”
This post has no title specified in the YAML Front Matter. Jekyll should auto-generate a title from the filename.
Antidisestablishmentarianism
Title should not overflow the content area
A few things to check for:
- Non-breaking text in the title, content, and comments should have no adverse effects on layout or functionality.
- Check the browser window / tab title.
- If you are a theme developer, check that this text does not break anything.
The following CSS properties will help you support non-breaking text.
-ms-word-wrap: break-word;
word-wrap: break-word;
Edge Case: Invalid syntax highlight languages
Good highlighting:
str = ARGV.first
if str
str = str.b[/\A_(.*)_\z/, 1]
if str and Gem::Version.correct?(str)
version = str
ARGV.shift
end
end
Good (but dumb) highlighting:
str = ARGV.first
if str
str = str.b[/\A_(.*)_\z/, 1]
if str and Gem::Version.correct?(str)
version = str
ARGV.shift
end
end
Bad highlighting:
str = ARGV.first
if str
str = str.b[/\A_(.*)_\z/, 1]
if str and Gem::Version.correct?(str)
version = str
ARGV.shift
end
end
Edge Case: Nested and Mixed Lists
Nested and mixed lists are an interesting beast. It’s a corner case to make sure that
- Lists within lists do not break the ordered list numbering order
- Your list styles go deep enough.
Ordered – Unordered – Ordered
- ordered item
- ordered item
- unordered
- unordered
- ordered item
- ordered item
- ordered item
- ordered item
Ordered – Unordered – Unordered
- ordered item
- ordered item
- unordered
- unordered
- unordered item
- unordered item
- ordered item
- ordered item
Unordered – Ordered – Unordered
- unordered item
- unordered item
- ordered
- ordered
- unordered item
- unordered item
- unordered item
- unordered item
Unordered – Unordered – Ordered
- unordered item
- unordered item
- unordered
- unordered
- ordered item
- ordered item
- unordered item
- unordered item
Task Lists
- Finish my changes
- Push my commits to GitHub
- Open a pull request
Layout: Header Image (External URL)
This post should display a header image, if the theme supports it.
Featured image is an external asset and should load.
Layout: Header Image (Horizontal)
This post should display a header image, if the theme supports it.
Non-square images can provide some unique styling issues.
This post tests a horizontal header image.
Layout: Header Image (Vertical)
This post should display a header image, if the theme supports it.
Non-square images can provide some unique styling issues.
This post tests a vertical header image.
Layout: Header Image Overlay
This post should display a header with an overlay image, if the theme supports it.
Non-square images can provide some unique styling issues.
This post tests overlay header images.
Overlay filter
You can use it by specifying the opacity (between 0 and 1) of a black overlay like so:

excerpt: "This post should [...]"
header:
overlay_image: /assets/images/unsplash-image-1.jpg
overlay_filter: 0.5 # same as adding an opacity of 0.5 to a black background
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
actions:
- label: "More Info"
url: "https://unsplash.com"
Or if you want to do more fancy things, go full rgba:
Layout: Header Image Overlay with Custom Tagline
This post should display a header with an overlay image and custom tagline, if the theme supports it.
Non-square images can provide some unique styling issues.
This post tests overlay header images with custom page.tagline
.
tagline: "This is a custom tagline content which overrides the default page excerpt."
header:
overlay_image: /assets/images/unsplash-image-1.jpg
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
Layout: Header Overlay with Background Fill
This post should display a header with a solid background color, if the theme supports it.
Non-square images can provide some unique styling issues.
This post tests overlay headers.
Post: Header Image with OpenGraph Override
This post has a header image with an OpenGraph override.
header:
image: /assets/images/page-header-image.png
og_image: /assets/images/page-header-og-image.png
Post: Overlay Image with OpenGraph Override
This post has a header image with an OpenGraph override.
header:
overlay_image: /assets/images/unsplash-image-1.jpg
og_image: /assets/images/page-header-og-image.png
caption: "Photo credit: [**Unsplash**](https://unsplash.com)"
actions:
- label: "Learn more"
url: "https://unsplash.com"
Post: Teaser Image with OpenGraph Override
This post has a teaser image with an OpenGraph override.
header:
teaser: /assets/images/page-header-teaser.png
og_image: /assets/images/page-header-og-image.png
Suspicio? Bene ... tunc ibimus? Quis uh ... CONEXUS locus his diebus? Quisque semper aliquid videtur, in volutpat mauris. Nolo enim dicere. Vobis neque ab aliis. Ego feci memetipsum explicans. Gus mortuus est. Lorem opus habeo. Jackson Isai? Tu quoque ... A te quidem a ante. Vos scitis quod blinking res Ive 'been vocans super vos? Et conteram illud, et conteram hoc. Maledicant druggie excors. Iam hoc tu facere conatus sum ad te in omni tempore? Ludum mutavit. Verbum est ex. Et ... sunt occid
Check for long titles and how they might break a template.