GithubHelp home page GithubHelp logo

chrisnmorrison / revista-gatsby-blog-magazine Goto Github PK

View Code? Open in Web Editor NEW
34.0 1.0 25.0 14.57 MB

Modern, clean Gatsby Blog/Magazine template. Easy to customize, and ready to publish articles.

Home Page: https://revista-demo.netlify.app

License: MIT License

JavaScript 91.10% SCSS 1.47% CSS 7.43%
gatsby magazine markdown react blog

revista-gatsby-blog-magazine's People

Contributors

chrisnmorrison avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

revista-gatsby-blog-magazine's Issues

Add tags to blog posts

Many blog posts are about different topics (let's say "Sushi", "Vegan", "Rice") so we should be able to tag them with different values (afaik, we can only have 1 category per article).

This includes filtering by tag: if the users clicks "Vegan", they should be able to see only blog articles about that topic (ordered by date)

Add GDPR cookie banner

Since EU forces blogs to have a cookie banner, due to GDPR restrictions, I think it could be useful to add it to the template.

If I remember well, there's already an existing layout that you have to add to the page layout, so it should be easy to add (I suppose! )

Accept png as cover image

Hello.

the theme works well if I use JPG files for cover images.

If I use png, it does not even compile.

Is it a matter of configurations?

Render tables from Markdown

Markdown tables are not being converted into HTML.

You can in fact see the plain text for such tables.

image

Do I have to install anything, or is it just not supported?

Read article URL from FrontMatter instead of automatically generating it

I'm migrating my blog to this theme.

I have my articles structured as

  • posts
    • {type}
      • {year}
        • {article number}-{article-name}.md

and each article specifies the final URL in a field in the FrontMatter section.

The article with FM like this:

title: "5 tricks every C# dev should know about LINQPad"
path: "/blog/5-linqpad-tricks"

Generates this page :
https://www.code4it.dev/blog/5-linqpad-tricks
Notice that the path does not reflect the folder structure

Now, after the migration, the page URLs must not change. Is there a way to generate page URLs reading from FrontMatter?

Possible memory leak

Hi.
I'm porting my blog to this theme.

There are around 130 articles, each with one cover image (well, actually there are some more, but I temporarily deleted them to try to fix this issue).

When compiling it, I used to see an error about heap allocation.

To solve it locally I had to increase the memory limit of the build process, updating the build command in the package.json file:

    "build": "cross-env NODE_OPTIONS=--max-old-space-size=16384 gatsby build --prefix-paths",
    "develop": "cross-env NODE_OPTIONS=--max-old-space-size=16384 gatsby develop",

Even with 16GB of memory, the build fails, as you can see from the logs here:
https://app.netlify.com/sites/thriving-lolly-25f944/deploys/641ad5eedb761b02e5be526e

Any idea on what can cause the memory leak?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.