Merge pull request #171 from Limpan/fix/single-page-example

Fixed query in single page example.
This commit is contained in:
Joseph Nix 2018-01-10 18:02:59 -06:00 committed by GitHub
commit 1d52102ae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>