Logo
Explore Help
Sign In
talexander/natter
1
0
Fork 0
You've already forked natter
Code Issues Pull Requests Releases Activity
natter/src/blog_post/heading.rs

15 lines
284 B
Rust
Raw Normal View History

Introduce the corresponding non-render types.
2023-10-24 00:36:08 -04:00
use crate::error::CustomError;
Only print the contexts. This allows us to pipe the output to jq to see the context easier. We can see the rendered output in the files written to disk.
2023-10-24 00:51:28 -04:00
use super::Object;
Introduce the corresponding non-render types.
2023-10-24 00:36:08 -04:00
#[derive(Debug)]
Only print the contexts. This allows us to pipe the output to jq to see the context easier. We can see the rendered output in the files written to disk.
2023-10-24 00:51:28 -04:00
pub(crate) struct Heading {
title: Vec<Object>,
}
Introduce the corresponding non-render types.
2023-10-24 00:36:08 -04:00
impl Heading {
pub(crate) fn new(heading: &organic::types::Heading<'_>) -> Result<Heading, CustomError> {
Only print the contexts. This allows us to pipe the output to jq to see the context easier. We can see the rendered output in the files written to disk.
2023-10-24 00:51:28 -04:00
Ok(Heading { title: Vec::new() })
Introduce the corresponding non-render types.
2023-10-24 00:36:08 -04:00
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 299ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API