Bladeren bron

Merge pull request #581 from daltonmatos/feature/backreftranslate-plugin

Add Backref Translate plugin
Justin Mayer 9 jaren geleden
bovenliggende
commit
00a038b18a
3 gewijzigde bestanden met toevoegingen van 6 en 0 verwijderingen
  1. 3 0
      .gitmodules
  2. 2 0
      Readme.rst
  3. 1 0
      backreftranslate

+ 3 - 0
.gitmodules

@@ -97,3 +97,6 @@
 [submodule "md-metayaml"]
 [submodule "md-metayaml"]
 	path = md-metayaml
 	path = md-metayaml
 	url = https://github.com/joachimneu/pelican-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)
 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 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
 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