Comments (11)
@thomasgohard , JSON please since most of the templates variables are being passed as JSON variables.
from gcweb.
@masterbee PR #116 is in, with JSON.
from gcweb.
Core WET is all YAML for front matter
from gcweb.
@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.
Yup, just pointing it out
from gcweb.
@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.
@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.
@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.
@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.
OK. I'll update wet-boew to JSON tomorrow.
from gcweb.
Standardisation of front matter to JSON for wet-boew is done: wet-boew/wet-boew#3428.
from gcweb.
Related Issues (20)
- add `timedate` to the Date modified HOT 5
- Liquid Warning: Liquid syntax error: [:comparison, ">"] is not a valid expression
- Bogue - Le contrast de couleur ne fonctionne pas
- Requête - When is the Mega Menu going to go away? and How? / Comment supprimer le Mega Menu sans causer une cascade d'exceptions javascript ?
- Bug - ʻOkina character does not display properly
- Featured link stabilization
- Featured link background stabilization
- [BUG] Canada.ca Menu - aria-label exceeds 250 characters HOT 1
- Bug - missing background on web alerts
- Fieldflow
- Broken example link on GCWeb index page
- Checkboxes are not user friendly for Dragon Naturally Speaking users HOT 1
- Bogue - Message contextuel tronqué sur le bouton de fermeture (wb-overlay)
- Inconsistent documentation between English and French
- Update twitter icon to X
- Breaking Jekyll native behaviour HOT 1
- Bug - Breadcrumb links are cutoff on smaller screens
- Bug - h1 style looks "wrong" for Safari iOS 14 HOT 12
- Gradient underline on H1 issue
- wb-fieldflow dropdown list removes destination page URL query parameters HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcweb.