diff --git a/README.md b/README.md index 290bdbf..1b2e207 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ SiteMesh 3: Official repository ========= -## Kiss Good Bye to Boilerplate Code!! +## Kiss Good Bye to Boilerplate HTML Code!! ## Get Up and Running with a Single JAR. No Configuration Needed, Just Drop it in! [Learn SiteMesh 3 in 5 Minutes](https://github.com/sitemesh/sitemesh3/blob/master/QUICKSTART.md) @@ -372,7 +372,7 @@ Example Hello World - +

This page will be decorated :)

@@ -402,8 +402,8 @@ To use the Java based configuration, subclass org.sitemesh.config.ConfigurableSi public class MySiteMeshFilter extends ConfigurableSiteMeshFilter { @Override protected void applyCustomConfiguration(SiteMeshFilterBuilder builder) { - builder.addDecoratorPath("/*", "decorator.html") - .addDecoratorPath("/admin/*", "admin/decorator.html"); + builder.addDecoratorPath("/*", "decorator.html") + .addDecoratorPath("/admin/*", "admin/decorator.html"); } } ``` @@ -427,7 +427,7 @@ Exclude a path from being decorated ```xml - + @@ -509,7 +509,7 @@ An advanced feature of SiteMesh is the ability to define custom rules that manip ```xml - + ... @@ -518,14 +518,12 @@ An advanced feature of SiteMesh is the ability to define custom rules that manip #### Java ```java public class MySiteMeshFilter extends ConfigurableSiteMeshFilter { - - + @Override protected void applyCustomConfiguration(SiteMeshFilterBuilder builder) { builder.addTagRuleBundles(new CssCompressingBundle(), new LinkRewritingBundle()); } - } ```