Add sample post with <code> in excerpt
This commit is contained in:
parent
538d4cf450
commit
da2b8b2650
14
_posts/2012-03-14-template-code-excerpt-generated.md
Normal file
14
_posts/2012-03-14-template-code-excerpt-generated.md
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
title: "Template: Code Excerpt (Generated)"
|
||||||
|
date: 2012-03-14
|
||||||
|
categories:
|
||||||
|
- Template
|
||||||
|
- Uncategorized
|
||||||
|
tags:
|
||||||
|
- content
|
||||||
|
- excerpt
|
||||||
|
- template
|
||||||
|
---
|
||||||
|
This is the post content with inline code, (e.g. `<span style="color: red;">red</span>`. It should be displayed in place of the auto-generated excerpt in single-page views. Archive-index pages should display an auto-generated excerpt of this content.
|
||||||
|
|
||||||
|
Be sure to test the formatting of the auto-generated excerpt, to ensure that it doesn't create any layout problems.
|
Loading…
x
Reference in New Issue
Block a user