hugo/hugolib
Justin Van Patten 59c4bc52ed Include path to source page in non-relative ref/relref warning
We occasionally see warnings when building our site:

```
WARN 2019/06/25 23:07:08 make non-relative ref/relref page reference(s) in page %q absolute, e.g. {{< ref "/blog/my-post.md" >}}
```

But the `%q` value is missing, making it difficult to track down the source of the warning.

This change addresses that, by including the source path in the warning:

```
WARN 2019/06/25 23:07:31 make non-relative ref/relref page reference(s) in page "blog/my-post/index.md" absolute, e.g. {{< ref "/blog/my-post.md" >}}
```
2019-06-26 09:25:12 +02:00
..
filesystems
paths
testdata
testsite
404_test.go
alias.go
alias_test.go
case_insensitive_test.go
collections.go
collections_test.go
config.go
config_test.go
configdir_test.go
datafiles_test.go
disableKinds_test.go
embedded_shortcodes_test.go
embedded_templates_test.go
fileInfo.go
fileInfo_test.go
gitinfo.go
hugo_sites.go
hugo_sites_build.go
hugo_sites_build_errors_test.go
hugo_sites_build_test.go
hugo_sites_multihost_test.go
hugo_sites_rebuild_test.go
hugo_smoke_test.go
hugo_themes_test.go
language_content_dir_test.go
menu_test.go tpl/collections: Unwrap any interface value in sort and where 2019-06-09 16:54:36 +02:00
minify_publisher_test.go
multilingual.go
page.go
page__common.go
page__content.go
page__data.go
page__menus.go
page__meta.go
page__new.go
page__output.go
page__paginator.go
page__paths.go hugolib: Fix bundle path when slug is set 2019-06-09 16:55:08 +02:00
page__per_output.go
page__position.go
page__ref.go
page__tree.go
page_kinds.go
page_permalink_test.go
page_test.go Improve Org mode support: Replace goorgeous with go-org 2019-06-08 10:13:00 +02:00
page_unwrap.go
page_unwrap_test.go
pagebundler.go
pagebundler_capture.go
pagebundler_capture_test.go
pagebundler_handlers.go
pagebundler_test.go hugolib: Fix bundle path when slug is set 2019-06-09 16:55:08 +02:00
pagecollections.go Include path to source page in non-relative ref/relref warning 2019-06-26 09:25:12 +02:00
pagecollections_test.go
pages_language_merge_test.go
paginator_test.go tpl/collections: Fix slice type handling in sort 2019-06-10 08:32:44 +02:00
permalinker.go
prune_resources.go
resource_chain_test.go Add safety barrier between concatenated javascript resources 2019-06-02 10:23:48 +02:00
robotstxt_test.go
rss_test.go
shortcode.go
shortcode_page.go
shortcode_test.go
site.go Remove references to Google+ 2019-05-26 19:24:45 +02:00
site_benchmark_new_test.go hugolib: Add another site benchmark 2019-06-26 09:09:40 +02:00
site_benchmark_test.go
site_output.go
site_output_test.go
site_render.go
site_sections.go
site_sections_test.go
site_stats_test.go
site_test.go
site_url_test.go
siteJSONEncode_test.go
sitemap_test.go
taxonomy.go
taxonomy_test.go
template_engines_test.go
template_test.go
testhelpers_test.go hugolib: Fix bundle path when slug is set 2019-06-09 16:55:08 +02:00
translations.go