snap-cloud / SnapSite

[DEPRECATED] The old social website for the Snap! programming language/environment
GNU General Public License v3.0
9 stars 18 forks source link

Use @content in base template? #24

Closed cycomachead closed 6 years ago

cycomachead commented 6 years ago

I’m wondering why the base template doesn’t make use of this? The current version seems a little more confusing to have the file split in 2.

I could guess it’s something about the file getting hard to read. If that’s the case can we build an @include= option for templates to include other templates? That would let us structure the file a little more clearly.

bromagosa commented 6 years ago

It was a quick hack. Remember this is not ready at all. I'm waiting for funding to finish the site.

Your change makes perfect sense though, and it's something I wanted to end up implementing. Thanks!

cycomachead commented 6 years ago

Fixed with #26