# Post Excerpt

:eye: [PREVIEW](https://greenelab.github.io/lab-website-template/testbed#post-excerpt)

Typically you'd use this with the [list](/lab-website-template-docs/basics/components/list.md) component, which would automatically read from `posts` and pass this component the parameters. But you can also use it stand-alone to manually display individual posts:

```liquid
{%
  include post-excerpt.html
  lookup="example-blog-post-1"
%}
```

<table><thead><tr><th width="171.33333333333331">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><code>lookup</code></td><td>Lookup post details from <code>posts</code> by filename, without the <code>YYYY-MM-DD-</code> date prefix or <code>.md</code> extension.</td></tr><tr><td><code>title</code> / etc.</td><td>The same parameters outlined in <a href="/pages/SmttXZTsTOIykFDON6lp">blog posts</a>. Retrieved from lookup, or passed automatically from list component.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://greene-lab.gitbook.io/lab-website-template-docs/basics/components/post-excerpt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
