decred / dcrweb

Decred website code.
37 stars 76 forks source link

News: Fix data, add outlet names #1102

Closed xaur closed 1 year ago

xaur commented 1 year ago

Adding the data part first and fixing some data bits while at it. If this doesn't break site build it may be merged as is, otherwise I need help with the Hugo part which I can't do.

I sliced it for easy review (check each commit description for more detail), but feel free to squash as necessary for the final merge.

Following up from #1099.

xaur commented 1 year ago

We need to define what we want the new template logic to be for these values (can be done in a seperate issue/PR). What did you have in mind?

I'd start with simply showing outlet instead of externalSource in the existing template. That is, in the parens after the Title. And then think where to go from there, like adjust the template or the CSS. And maybe remove externalSource if we no longer need it.

If new data is not breaking site build, I suggest to do all that in separate PRs to get this one in and build more data updates on top of it.