ソースを参照

Adding Backref Translate plugin

Dalton Barreto 10 年 前
コミット
52e8a8b3f0
共有3 個のファイルを変更した6 個の追加0 個の削除を含む
  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