Giter VIP home page Giter VIP logo

Comments (6)

dillonkearns avatar dillonkearns commented on May 16, 2024 1

Maybe the top banner should contain the filename 🤔

-- UNKNOWN CONTENT EXTENSION ------------------------------------------------ content/index.md

from elm-pages.

bgins avatar bgins commented on May 16, 2024 1

I have a suggestion for SUGGESTION. I think it would be better if

2) Move the file `content/index.md` outside of the `content` folder, or delete it

was the last suggestion.

It is definitely a way to stop seeing the error, but it doesn't give a clear path for adding content, which is probably what the user intends. Putting it last would give it a bit less importance and make it seem like more of a "last resort".

from elm-pages.

dillonkearns avatar dillonkearns commented on May 16, 2024 1

With elm-pages v2 document handlers are replaced with the Glob API and Page Modules, so I'll close this issue. Hopefully we can continue to improve errors for the new V2 APIs 😄

from elm-pages.

tennety avatar tennety commented on May 16, 2024

Since the user has already created the file, maybe reword 1. Create your new file with one of those extensions to 1. Change the extension of 'content/index.md' from '.md' to one of these extensions?

from elm-pages.

tennety avatar tennety commented on May 16, 2024

Suggestion for EDUCATIONAL MATERIAL: Below the link to elm-pages, add
If you are new to JSON decoding in Elm, you can get an overview here: https://guide.elm-lang.org/effects/json.html

from elm-pages.

dillonkearns avatar dillonkearns commented on May 16, 2024

This is really fantastic, thank you both for your great suggestions here! Very nice getting more eyes on this, I'm liking this process. Thanks for taking the time! 🙏

I'll let you know when I take a first pass at getting this error message implemented 👍

from elm-pages.

Related Issues (20)

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.