NMD Logo
Navigate back to the homepage
AboutContact

Customizing Gatsby Theme Novela

Nick Mantia
February 27th, 2020 · 4 min read

My customization of @narative/gatsby-theme-novela. Novela is originally built by the team at Narative, and my goal is to customize it for use as a personal, portfolo site.

The github repo for this project is located here.

First a little about me.

My Name is Nick Mantia, I am currently employed at Paradowski Creative as a web developer, but I am much more. Although I work professionally as a developer, I have a four-year degree in Graphic Design and pride myself as a creative first. While studying design, I discovered the web as a perfect medium to outlet my creativity. Although, I soon found that design alone wasn’t enough to satisfy my creative itch. I began to learn web development in order to begin crafting things that are both beautiful AND functional.

I’ve been hooked ever since…

Over the past 5 years I’ve worked full-time as a web developer. Mostly creating custom Wordpress themes & plugins. I was an organizer at Wordcamp US 2019 in Saint Louis, MO. It was around this time I was introduced Gatsby, and began to explore its integration with Wordpress and use as an SSG (static site generator). So when it came time to redo my personal portfolio, I knew this would be the perfect place to start.


Installing Gatsby Theme Novela

Step 1: Starter installation

With gatsby-cli:
1gatsby new novela-site https://github.com/narative/gatsby-starter-novela
With git clone:
1git clone git@github.com:narative/gatsby-starter-novela.git novela-site
2
3cd novela-site
4
5yarn

Step 2: Develop & Build

Once installed or cloned locally and all packages are installed you can begin developing your site.

1# Run localhost
2yarn dev
3
4# Build your Gatsby site
5yarn build

Basic Customizations

Creating additional pages

Gatsby makes it easy to programmatically control your pages. Pages can be created in three ways:

  1. In your site’s gatsby-node.js by implementing the API createPages
  2. Gatsby core automatically turns React components in src/pages into pages
  3. Plugins can also implement createPages and create pages for you

Component Shadowing

UI Styling

Advanced Customization

Creating Custom Content Types

integrating three.js & webGL shaders for advanced interactivity

forking the repo and renaming / re-publishing as a new gatsby theme

Emphasis

Emphasis, aka italics, with asterisks or underscores.

Strong emphasis, aka bold, with asterisks or underscores.

Combined emphasis with asterisks and underscores.

Strikethrough uses two tildes. Scratch this.

Lists

  1. First ordered list item
  2. Another item
  3. Actual numbers don’t matter, just that it’s a number
  • Unordered list can use asterisks
  • Or minuses
  • Or pluses

I’m an inline-style link

I’m an inline-style link with title

I’m a reference-style link

I’m a relative reference to a repository file

You can use numbers for reference-style link definitions

Or leave it empty and use the link text itself.

URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or http://www.example.com and sometimes example.com (but not on Github, for example).

Some text to show that the reference links can follow later.

Images

Alt text

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Code and Syntax Highlighting

1var s = "JavaScript syntax highlighting";
2alert(s);
1No language indicated, so no syntax highlighting.
2But let's throw in a <b>tag</b>.

JSX

1import React from "react";
2import { ThemeProvider } from "theme-ui";
3import theme from "./theme";
4
5export default props => (
6 <ThemeProvider theme={theme}>{props.children}</ThemeProvider>
7);

Blockquotes

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing.

Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum

Horizontal Rule

Horizontal Rule

Three or more…


Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum


Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum

© 2020 Nick Mantia Design
Link to $https://github.com/nmantia12Link to $https://instagram.com/nick.mantiaLink to $https://www.linkedin.com/in/nick-mantia/Link to $https://twitter.com/nick_mantia