Update "ref" syntax for modern Hugo

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 3.6.2
    • Affects Version/s: None
    • Component/s: Documentation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The "make hugo" target works with hugo 0.26 but not with more recent ones: since 0.37 if not before, hugo errors:

      ERROR 2018/05/31 13:52:26 error processing shortcode "_internal/shortcodes/ref.html" for page "index.md": template: _internal/shortcodes/ref.html:1:73: executing "_internal/shortcodes/ref.html" at <ref .Page (.Get 0)>: error calling ref: No page found with path or logical name "mongocxx-v3/tutorial.md".
      
      ... five more errors like this ...
      

      It seems that the "ref" syntax is no longer compatible with modern Hugo, figure out how to update it.

              Assignee:
              Roberto Sanchez
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: