On Thursday, 2 November 2017 at 18:51:09 UTC, bauss wrote:
On Thursday, 2 November 2017 at 18:48:10 UTC, bauss wrote:
Before you did:
render!("index.dt", title, major_categories);
Have you tried to check the contents of "major_categories"
making sure it's all there. Just to figure out whether
On Thursday, 2 November 2017 at 08:40:28 UTC, bauss wrote:
Do you get a response back with rendered html or does the
connection get dropped?
No, the html does come in, and the whole content of the rendered
page is sent to the browser. The page has closing head and body
tags.
Have you tried
I've got a serialized JSON structure that looks something like
this:
{
"title": "Webpage title",
"major_categories": [
{
"title": "Major Category title",
"categories": [
{
"title": "Minor Category title",
On Tuesday, 3 October 2017 at 23:13:00 UTC, Jonathan M Davis
wrote:
On Tuesday, October 03, 2017 22:42:35 SamwiseFilmore via
Digitalmars-d-learn wrote:
On Tuesday, 3 October 2017 at 22:37:17 UTC, SamwiseFilmore
wrote:
> Am I using the ternary operator correctly here, or is this
> an
On Tuesday, 3 October 2017 at 22:37:17 UTC, SamwiseFilmore wrote:
Am I using the ternary operator correctly here, or is this an
issue with dmd? I'm using dmd v2.076.0.
I wrapped the ternary in parentheses, and it compiled. Still, I'm
wondering about this behavior.
I've created toString() for a struct (which is a lot more
complicated than what I've provided here) that returns a large
number of concatenated strings. Here is the example:
struct Card {
// Flesh out these enums appropriately
CardSuit suit;
CardValue value;
Facing facing;