Skip to content

carbonplan/article-template

Repository files navigation

CarbonPlan monogram.

carbonplan / article template

template repository for carbonplan articles

CI License: MIT

This repository contains a template for developing an article to be included on our research site at carbonplan.org/research.

This is basically a mini Next.js app that wraps your article content with our layout for development purposes.

To start working on a new article click the Use this template button, or clone this repo. You'll want to do all writing and development in the top-level article folder, which should include an index.md file for primary markdown content and a components folder for custom React components that you can import inside index.md. You should also update contents.js with the metadata for your article, like authors and tags. You shouldn't need to touch anything else.

When an article is finished, we publish it by copying the contents of the article folder into a folder named with the article id in the articles folder in our the main research site. We also update the index listing. That's it!

to build the site locally

Assuming you already have Node.js installed, you can install the build dependencies as:

npm install .

To start a development version of the site, simply run:

npm run dev

and then visit http://localhost:5001 in your browser.

license

All the code in this repository is MIT-licensed, but we request that you please provide attribution if reusing any of our digital content (graphics, logo, articles, etc.).

about us

CarbonPlan is a nonprofit organization that uses data and science for climate action. We aim to improve the transparency and scientific integrity of climate solutions with open data and tools. Find out more at carbonplan.org or get in touch by opening an issue or sending us an email.

About

template for a developing a standalone research article

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published