-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_home.cshtml
59 lines (52 loc) · 1.79 KB
/
_home.cshtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<h1 class="sc-element">
Razor Blade Demos for 1.0 and 1.1
@Edit.Toolbar(Content)
</h1>
<div>
The following demos help you get started with <a href="https://github.com/DNN-Connect/razor-blade" target="_blank">Razor Blade</a>. It is based on Razor Blade v1.0 stable.
</div>
<div>
These demos will not work if you don't have Razor Blade installed. 2sxc 9.40 will include Razor Blade, but if you're trying this on previous versions, make sure you install it separately from <a href="https://github.com/DNN-Connect/razor-blade/releases" target="_blank">github releases</a>.
</div>
<h2>
Demos / Tutorials for Text Manipulations
</h2>
<ol>
<li>
<a href='@Link.To(parameters: "text-crop=true")'>Cropping text and Ellipsis</a>
</li>
<li>
<a href='@Link.To(parameters: "text-has=true")'>Really checking if something has text</a>
</li>
<li>
<a href='@Link.To(parameters: "text-first=true")'>Showing the first real text</a>
</li>
<li>
<a href='@Link.To(parameters: "text-zip=true")'>Zip/Compress text, removing long whitespace</a>
</li>
</ol>
<h2>
Demos / Tutorials for Html Tags Manipulations
</h2>
<ol>
<li>
<a href='@Link.To(parameters: "tags-strip=true")'>Stripping HTML Tags</a>
</li>
<li>
<a href='@Link.To(parameters: "tags-br=true")'>Convert BR tags to New-Line and back</a>
</li>
</ol>
<h2>
HtmlPage Stuff (Requires Razor Blade v1.1)
</h2>
<ol>
<li>
<a href='@Link.To(parameters: "htmlpage=true")'>Get/Set Page Title, Keywords, Description and set meta-tags and more</a>
</li>
<li>
<a href='@Link.To(parameters: "jsonld=true")'>Setting Json-LD headers</a>
</li>
<li>
<a href='@Link.To(parameters: "opengraph=true")'>Setting Open-Graph headers</a>
</li>
</ol>