import Translatable from "./Translatable"; class Blog extends Translatable { prepare({ page }) { page.priority = 0.3; } renderProject({ title, repository }) { return ( {title} ); } renderPost({ title, href, description, date, author }) { return ( {title} {description} By {author.name} | {date} ); } render() { if (!this.i18n) return false; return ( {this.i18n.heading} {" "} {this.i18n.tagline} {this.i18n.posts?.map((post) => ( ))} ); } } export default Blog;
{description}
{" "} {this.i18n.tagline}