From 785c211c626c75f3ffc467d54d5c8f5710336aa4 Mon Sep 17 00:00:00 2001 From: Loic Teixeira Date: Thu, 14 Jul 2016 14:30:03 +1200 Subject: [PATCH] Fix documentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e6f35cf..680bd2c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ INSTALLED_APPS = [ For each models registered as a wagtail.wagtailsnippets create an html file to render the template inside a RichText field. * Templates names will match snippets models names replacing capital letters with underscores, Wagtail style. - For the ```SocialMediaLink``` snippet in the ```core``` app, it will look for the following template ```core/templates/snippets/social_media_link.html```. + For the ```SocialMediaLink``` snippet in the ```core``` app, it will look for the following template ```core/templates/snippets/socialmedialink.html```. * The variable containing the snippet instance in the template is ```snippet```. If no template is defined then an exception will be raised in the frontend when rendering a RichTextField with the embedded snippet in it. Make sure you write some templates for your snippets before start to embedding them.