Skip to content

Commit 1f8832f

Browse files
committed
(Grav GitSync) Automatic Commit from asika32764
1 parent e0eaad2 commit 1f8832f

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Blog
3+
---
4+
5+
6+
## Simple Layout
7+
8+
Convert blog view to a simpler layout with preview image and limited intro text.
9+
10+
The preview image will get intro image from article, if there has no intro image, it will parse first image from content.
11+
12+
### Image Width & Crop Image
13+
14+
The Width of preview image. If you set `Crop Image` to **YES**, the preview image will be square and generate a thumbnail, otherwise the image will fixed width and make height auto.
15+
16+
### Default Image
17+
18+
If article can not find any preview image, a default image will show instead. You can also set your own default image.
19+
20+
### Strip HTML & Summery Length
21+
22+
Enable the `Strip HTML` will remove all HTML tags, but you can keep some tags by `Allow Tags`, note if you use allow tags, the `Summery Length` will not work
23+
24+
### Include / Exculde
25+
26+
You can set include / exclude menus or HTTP query to enable Simple Blog layout in particular pages.
27+
28+
The HTTP query conditions example:
29+
30+
- `option=com_zoo` --> match the `com_zoo` all pages.
31+
- `option=com_content&view!=feature` --> Match com_content all pages but not in featured view.

0 commit comments

Comments
 (0)