Browse Source

Adding Backref Translate plugin

Dalton Barreto 8 years ago
parent
commit
52e8a8b3f0
3 changed files with 6 additions and 0 deletions
  1. 3 0
      .gitmodules
  2. 2 0
      Readme.rst
  3. 1 0
      backreftranslate

+ 3 - 0
.gitmodules

@@ -97,3 +97,6 @@
 [submodule "md-metayaml"]
 	path = md-metayaml
 	url = https://github.com/joachimneu/pelican-md-metayaml
+[submodule "backreftranslate"]
+	path = backreftranslate
+	url = https://github.com/daltonmatos/pelican-plugin-backref-translate

+ 2 - 0
Readme.rst

@@ -44,6 +44,8 @@ Asset management          Use the Webassets module to manage assets such as CSS
 
 Auto Pages                Generate custom content for generated Author, Category, and Tag pages (e.g. author biography)
 
+Backref Translate         Add a new attribute (``is_translation_of``) to every article/page (which is a translation) pointing back to the original article/page which is being translated
+
 Better code samples       Wraps all `table` blocks with a class attribute `.codehilitetable` in an additional `div` of class `.hilitewrapper`. It thus permits to style codeblocks better, especially to make them scrollable.
 
 Better figures/samples    Adds a `style="width: ???px; height: auto;"` attribute to any `<img>` tags in the content

+ 1 - 0
backreftranslate

@@ -0,0 +1 @@
+Subproject commit 19727da1fc0fe4563453c798dc75a73e158854ad