Skip to content

Commit

Permalink
Update example post to showcase truncated post previews.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoelayda committed Sep 19, 2020
1 parent 633ddeb commit fcfca19
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions blog/_posts/2014-01-01-example-content.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
---
layout: post
title: Example content
truncated_preview: true
excerpt_separator: <!--more-->
---


<div class="message">
Howdy! This is an example blog post that shows several types of HTML content supported in this theme.
</div>

Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a>, nascetur ridiculus mus. *Aenean eu leo quam.* Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.

> Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.
Etiam porta **sem malesuada magna** mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

## Inline HTML elements

HTML defines a long list of available inline tags, a complete list of which can be found on the [Mozilla Developer Network](https://developer.mozilla.org/en-US/docs/Web/HTML/Element).
Expand All @@ -27,6 +22,22 @@ HTML defines a long list of available inline tags, a complete list of which can

Most of these elements are styled by browsers with few modifications on our part.

## Truncated Post Previews

Celeste also supports truncated post previews that are customizable on a per-post basis. This is a sample of how a truncated post looks like. Click on **Read more** to see the rest of the post!

<!--more-->

More details on how to use truncated post previews are in the [v1.4.0 release notes](https://github.com/nicoelayda/celeste/releases/tag/v1.4.0).

-----

Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a>, nascetur ridiculus mus. *Aenean eu leo quam.* Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.

> Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.
Etiam porta **sem malesuada magna** mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.

## Footnotes

Footnotes are supported as part of the Markdown syntax. Here's one in action. Clicking this number[^fn-sample_footnote] will lead you to a footnote. The syntax looks like:
Expand Down

0 comments on commit fcfca19

Please sign in to comment.