URI: 
       docs: Update File variables - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit b4404a955438b67c226dddfe9102456e44c50d3e
   DIR parent b4cbccaaf41a74a03c051dfbcb625b904434551b
  HTML Author: Cameron Moore <moorereason@gmail.com>
       Date:   Fri,  9 Dec 2016 16:27:20 -0600
       
       docs: Update File variables
       
       Diffstat:
         M docs/content/templates/variables.md |       8 +++++---
       
       1 file changed, 5 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/docs/content/templates/variables.md b/docs/content/templates/variables.md
       @@ -173,10 +173,12 @@ The `.File` variable gives you additional information of a page.
        
        Available are the following attributes:
        
       -**.File.Path** The original relative path of the page, e.g. `content/posts/foo.md`<br>
       -**.File.LogicalName** The name of the content file that represents a page, e.g. `foo.md`<br>
       -**.File.BaseFileName** The filename without extension, e.g. `foo`<br>
       +**.File.Path** The original relative path of the page, e.g. `content/posts/foo.en.md`<br>
       +**.File.LogicalName** The name of the content file that represents a page, e.g. `foo.en.md`<br>
       +**.File.TranslationBaseName** The filename without extension or optional language identifier, e.g. `foo`<br>
       +**.File.BaseFileName** The filename without extension, e.g. `foo.en`<br>
        **.File.Ext** or **.File.Extension** The file extension of the content file, e.g. `md`<br>
       +**.File.Lang** The language associated with the given file if [Multilingual]({{< relref "content/multilingual.md" >}}) is enabled, e.g. `en`<br>
        **.File.Dir** Given the path `content/posts/dir1/dir2/`, the relative directory path of the content file will be returned, e.g. `posts/dir1/dir2/`<br>
        
        ## Hugo Variables