Coder Social home page Coder Social logo

Standardising the front matter about gcweb HOT 11 CLOSED

wet-boew avatar wet-boew commented on July 29, 2024
Standardising the front matter

from gcweb.

Comments (11)

masterbee avatar masterbee commented on July 29, 2024

@thomasgohard , JSON please since most of the templates variables are being passed as JSON variables.

from gcweb.

thomasgohard avatar thomasgohard commented on July 29, 2024

@masterbee PR #116 is in, with JSON.

from gcweb.

nschonni avatar nschonni commented on July 29, 2024

Core WET is all YAML for front matter

from gcweb.

thomasgohard avatar thomasgohard commented on July 29, 2024

@nschonni Do we need both repos to be standardised on the same? I think it's fine to have one repo using YAML and one using JSON. As long as, within the same repo, all files are using the same language.

from gcweb.

nschonni avatar nschonni commented on July 29, 2024

Yup, just pointing it out

from gcweb.

pjackson28 avatar pjackson28 commented on July 29, 2024

@nschonni @thomasgohard We should pick one for both to make it much easier to sustain (and so we have built-in examples). I personally don't have a preference between YAML or JSON so whichever is the better one to support is the one we should go with.

from gcweb.

thomasgohard avatar thomasgohard commented on July 29, 2024

@pjackson28 How about standardising on JSON then?

I think more people will already be familiar with it. I know that @fbernard2 and I spent a lot of time trying to figure how to code certain data structures in YAML that I could have coded in JSON easily.

from gcweb.

pjackson28 avatar pjackson28 commented on July 29, 2024

@thomasgohard Sounds like a good justification for JSON then. We need solutions fast so if JSON can be done much quicker and more people can support it then it seems like the right way to go. Could you please update core with the JSON solution you come up with so we have consistency across repos? This will be important as the GCWeb theme is going to fall under wet-boew soon.

from gcweb.

masterbee avatar masterbee commented on July 29, 2024

@thomasgohard , @nschonni , @pjackson28. I vote for JSON since less indenting ( like Coffeescript ) and more about syntax. Also plugins like tables use it in the data-wet-blew attribute, so I would keep it the same all over.

Just my 2 cents.

from gcweb.

thomasgohard avatar thomasgohard commented on July 29, 2024

OK. I'll update wet-boew to JSON tomorrow.

from gcweb.

thomasgohard avatar thomasgohard commented on July 29, 2024

Standardisation of front matter to JSON for wet-boew is done: wet-boew/wet-boew#3428.

from gcweb.

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.