1cb1178672
Add an FAQ section to the book. Include information about how to use imdl with `fzf --preview`. type: documentation fixes: - https://github.com/casey/intermodal/issues/397
16 lines
255 B
Rust
16 lines
255 B
Rust
use crate::common::*;
|
|
|
|
#[derive(Template)]
|
|
#[template(path = "faq.md")]
|
|
pub(crate) struct Faq {
|
|
pub(crate) entries: Vec<FaqEntry>,
|
|
}
|
|
|
|
impl Faq {
|
|
pub(crate) fn new(entries: &[FaqEntry]) -> Self {
|
|
Self {
|
|
entries: entries.to_vec(),
|
|
}
|
|
}
|
|
}
|