Fixed query in single page example.

This commit is contained in:
Linus Törngren 2017-12-19 10:03:20 +01:00
parent 7c0cb368fa
commit b8da574e12
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ need to query for all the other pages we have below `doc/`:
{% extends "layout.html" %} {% extends "layout.html" %}
{% block title %}{{ this.title }}{% endblock %} {% block title %}{{ this.title }}{% endblock %}
{% block body %} {% block body %}
{% set pages = site.query('/doc').all() %} {% set pages = site.query('/doc').include_undiscoverable(true).all() %}
<header> <header>
<h1>{{ this.title }}</h1> <h1>{{ this.title }}</h1>
<nav> <nav>