Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A magazine-style editorial Astro template with a full-viewport cover, MDX blog, tag pages, RSS, and a typographic system for long-form writing.
Self Esteem is a magazine-style editorial template built with Astro that delivers a full-viewport cover homepage, an MDX blog with tag archives, and an RSS feed as a complete static site.
Self Esteem is an open-source Astro template that re-implements a CodePen magazine layout by Aysenur Turk as a full project. It takes Markdown and MDX content stored in content collections and generates a static site with a magazine-cover index page, a blog index at /blog, individual post pages at /blog/[slug], tag archive pages at /tags/[tag], a studio page, a contact page, a data-driven work/portfolio page, a 404 page, and an RSS feed at /rss.xml. The template is published on GitHub by m-durana under the MIT License.
/ presents a magazine-style cover with a featured article hero, supporting an editorial feel out of the box..md or .mdx files in src/content/posts/; frontmatter fields include title, bigTitle, emphasis, headline, excerpt, author, date, cover, tags, featured, and pageNumber./tags/[tag] are built automatically from the tags array in post frontmatter.src/content/ also holds featured/ for sidebar entries and work/ for portfolio items, each validated through content.config.ts schemas./rss.xml, and BaseLayout includes Open Graph and Twitter meta tags for sharing.BaseLayout and PageLayout are included, with a global SCSS file at src/styles/global.scss; STYLEGUIDE.md documents design tokens, type scale, and brand guidelines._template.astro.example in src/pages/ provides a starting point for adding new pages, and Menu.astro lets you add nav links.Self Esteem suits writers, designers, and Astro developers who want a magazine-style publication without building one from scratch. Independent writers and editors can use it to publish long-form articles with a dramatic cover page. Designers can reuse the editorial typography and layout for portfolio or studio sites. Astro developers can study how content collections, tag generation, and RSS feeds are wired together.
/work page from the work content collection, and use the /studio page for an about or services section./rss.xml feed lets readers subscribe to new posts.Scaffold a new project with npm create astro@latest -- --template m-durana/self-esteem-astro (also available for pnpm, yarn, and bun), or clone the repository directly and run npm install. Use npm run dev to preview at http://localhost:4321 and npm run build to output a static site to ./dist. To add a post, drop a .md or .mdx file into src/content/posts/ following the documented frontmatter schema; to add a page, copy _template.astro.example to a new file in src/pages/.
Self Esteem is free to use and modify under the MIT License.
Yes, the template is open-source under the MIT License, so you can use it for personal or commercial projects without a license fee.
Set featured: true in the post's frontmatter; the template places featured posts in the homepage hero and sidebar.
Posts can be written as Markdown (.md) or MDX (.mdx) files inside src/content/posts/.
Yes, an RSS feed is generated at /rss.xml, and social meta tags are included in BaseLayout.
Copy src/pages/_template.astro.example to a new .astro file in src/pages/, edit its props, and add a link in src/components/Menu.astro if it should appear in navigation.
