Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Stratton <matt.stratton@gmail.com>2017-06-13 07:10:18 +0300
committerGitHub <noreply@github.com>2017-06-13 07:10:18 +0300
commitcd2da34ab81fa9c972fe2d9306886914328da17b (patch)
tree542bd39bd6bf897e89ac634ff595cb5dd114135f /README.md
parenteaf225e5898419ff15973acb2f3dfd50bfca9ab8 (diff)
Add custom truncate feature (#128)
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 1ab71b6..d5f8d46 100644
--- a/README.md
+++ b/README.md
@@ -52,10 +52,10 @@ These should be set under the `[params]` section:
| Field Name | Required | Description | Example |
|-------------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| | | | |
| `site_theme` | No | The color scheme for the overall site. Currently the options are `orange` (default), `grey`, and `blue`. | "blue" |
| `site_layout` | No | The layout for the home page. The options are `row` (default) or `grid`. | "grid" |
| `enable_jumbo` | No | When using the `row` layout, will set a jumbotron at the top instead of the sidebar. | "true" |
+| `truncate` | No | The number of characters to truncate the summary on the row layout. This can be overridden per-episode as well. The default value (if not set) is 600 characters. | "700" |
| `custom_css` | No | Array of custom CSS files for over-riding theme settings or adding your own classes. These files should be put into your `static` directory (not the `static` directory of the theme). | ["custom.css", "other_custom.css"] |
| `about_logo` | No | The logo (250px x 250px) you would like to appear on your About page. If not set, this will default to your iTunes image. This path should be relative to your main URL, for example, a file put in your `static` directory. This path should not start with a `/`. | "img/my_logo.png" |
| `copyright_notice` | Yes | Your copyright information for the footer of the page. Can contain Markdown. | `"Copyright 2016 [Matt Stratton](https://www.mattstrattion.io)"` |
@@ -196,6 +196,7 @@ podcast_file = "arrested-devops-podcast-episode053.mp3"
podcast_bytes = "123456789"
title = "Back to School"
youtube = ""
+truncate = ""
+++
@@ -220,6 +221,7 @@ Graphical user interface influencer value proposition startup hackathon iPad ana
| `podcast_bytes` | No | The length of the podcast file in bytes. This is optional, but iTunes and many other podcast players prefer this to be set. | "23907533" |
| `Title` | Yes | The title of the episode. | "Back to School" |
| `youtube` | No | The ID of the YouTube video (not the full URL). This will display the video on the episode page, and if you are using the row layout, it will display for the latest episode. | "8ClZXJsgpHY" |
+| `truncate` | No | The number of characters to truncate the summary on the row layout.. The default value (if not set) is 600 characters. | "700" |
### Guests
If you don't have guests on your episodes, feel free to ignore this section.