Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A minimalist Gatsby theme designed for photography and portfolios — with a masonry grid and lightbox

A Hugo theme for building media galleries that mix photos and videoclips in a Pinterest-style vertical layout.
Gatsby Theme Serena is a minimalist Gatsby theme for building photography and portfolio sites, using a masonry grid and lightbox to display galleries defined in YAML. It is created by Daniel Seoane (GitHub user daniel-seoane) and is free to use under the MIT License.
Gatsby Theme Serena is a Gatsby theme that transforms YAML gallery files and MDX content pages into a static photography website. It runs on the Gatsby static site generator, which builds fast, pre-rendered HTML output that can be deployed to services like Netlify. The theme's input is structured content: gallery definitions live in content/galleries and pages like an About page live in content/pages. Its output is a complete site with a masonry image grid, a lightbox for viewing photos, a contact form, social links, and SEO metadata. The starter repository includes the theme pre-configured with example galleries and an about page.
galleriesPath option (default content/galleries) tells the theme where to look.column) or horizontal (row) layouts via the direction option, and the margin option controls spacing between photos in pixels.disableContact to true.mdx option toggling the built-in gatsby-plugin-mdx configuration.To start from scratch, run gatsby new my-themed-site https://github.com/daniel-seoane/gatsby-starter-serena to create a new site pre-configured with the theme. To add the theme to an existing Gatsby site, install it with npm or yarn and register gatsby-theme-serena in the plugins array of gatsby-config.js. Then create YAML gallery files, add MDX pages, and set site metadata like title, description, menuLinks, and social.
Pros
margin: 6 and direction: "column".Cons
Gatsby Theme Serena is free and licensed under the MIT License. There are no paid tiers or premium features.
Yes, the theme is open source and distributed under the MIT License. You can use it for personal and commercial projects without cost, and you are free to modify and redistribute it.
For a new site, use the starter: gatsby new my-themed-site https://github.com/daniel-seoane/gatsby-starter-serena. For an existing Gatsby site, install the package with npm install --save gatsby-theme-serena or yarn add gatsby-theme-serena, then add it to the plugins array in your gatsby-config.js.
Yes, remote image URLs are supported and are downloaded during the build to create Gatsby File nodes for processing. However, you cannot mix remote and local images within the same gallery; pick one source per gallery.
The README contains a warning stating that the repository has not been maintained in a long time. That means the theme may not receive bug fixes or compatibility updates for newer Gatsby versions.
Customization is done through theme options such as galleriesPath, pagesPath, and disableContact, and through Gatsby shadowing. Site metadata like the title, tagline, menu links, and social URLs are configured in the siteMetadata object in gatsby-config.js.
