This is a test blog post to verify the blog listing and detail pages work end-to-end.
- It should appear in the blog index with the title and date.
- Clicking it should render the content on the slug page.
Here is a simple code block to confirm syntax highlighting and styling:
export function greet(name: string) {
return 'Hello, ' + name + '!';
}
console.log(greet('world')); And some extra code snippets:
#include <iostream>
#include <string>
std::string greet(const std::string& name) {
return "Hello, " + name + "!";
}
int main() {
std::cout << greet("world") << std::endl;
return 0;
} def greet(name: str) -> str:
return f"Hello, {name}!"
if __name__ == "__main__":
print(greet("world")) fn greet(name: &str) -> String {
format!("Hello, {}!", name)
}
fn main() {
println!("{}", greet("world"));
}