-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal to rebuild as static site with modern tools #18
Comments
I like this idea, i don't know much about Metalsmith or Handlebars but now I have to look into them more in depth. However I would suggest SASS over Stylus. Stylus has almost too much flexibility in its syntax and core functions (like defining variables). If this does happen to get traction and moves forward there would need to be some sort of coding standards. whereas SASS can work like Stylus in its syntax, but separated by having 2 different extensions (.scss or .sass) this inherently limits the possible confusion, making for a better collaborative experience. I won't speak performace wise since i haven't enough experience with stylus to know if it's better or worse than sass as far as compiling and whatnot, but using libsas kind of eliminates the worry about slow ruby compiling. that's my opinion though. if you do start this as your own side project, i'll probably watch what you do with it. |
+1 for SASS I'll raise my hand in support for Jekyll as a static-site generator. It has built-in SASS support and you can use the GitHub repo to host the static webpage. |
👍 for idea |
Thanks for the feedback. I don't want to start an endless debate about the "right" tools but I'll try to briefly explain my proposal of Stylus and Metalsmith.
I hope the above makes sense. If @clagnut doesn't think so, unless I missed something major I'm inclined to go with a separate project on those bases anyway. |
I'm not completely up to date on the merits of Metalsmith, Stylus, etc. Despite their running on JavaScript, I presume the site itself would not require browsers to have JavaScript enabled to view content and style? That would be a no-go for me. Personally I'm far more familiar with SASS and plain old CSS, but that may be just me. My main hope in open sourcing the project was less a rengineering of the site, and more opening it up to the world to keep the content up to date, and finish the remaining applicable guidelines. Secondarily to that, to improve the design particularly with a view to making it responsive, and potential work offline too. If improving the design means using a CSS pre-processor then that's fine, although my general feeling is that they are used by default rather than out of actual necessity. (There's not too much wrong with regular CSS for a simple site in my opinion.) |
No the site itself wouldn't require JS, the JS stack is purely for generating the site files. Those files being static also means the site can be easily downloaded and viewed offline too (if that's what you mean with "offline"). I propose to start with the reengineering because in my perception it will make maintaining and adding content (and updating the design) easier. The CSS preprocessor question is not primary for me; I could start with Stylus, then based on the code we can decide whether it really adds value (and easily revert to plain CSS if not). Anyway, if the general idea is accepted I'll probably proceed with a fork and we can discuss more and adjust stuff later. |
I’d prefer having a jekyll solution for the simple reason that the page can be edited directly on GitHub by everyone that can write basic markdown. That should lower the barrier to add content. It is also directly compiled by GitHub an can run on their servers which means there would be no compile & upload step involved. |
@yatil Thank for that... I hadn't realized Jekyll was so tightly integrated with GitHub pages, and now I'm reconsidering what I said above. Even if plain Markdown didn't suffice for the content (I hope it does), being able to just work directly on the |
In case someone wants to move on with this: please go ahead and accept my apologies. |
@clagnut I don't know if you'll agree, but I see a potentially large upside to reengineering the site, so I went ahead and took a stab at it myself. Here's my code and here's a hosted version of the site, running off my gh-pages branch (which is only altered by having a CNAME file so that Github will serve it to that URL). My goal was to move the site from PHP-based to Jekyll with a minimal amount of impact on the site itself. Some pros to this approach:
Downsides right now:
Since the goal with having this thing be open-sourced is to invite content-based contribution, I really think this is worth taking a shot on to see if it makes contributing more accessible. |
Another advantage that I forgot to mention: parsing for code blocks, which could allow for color-coding, if that's an interesting possibility to anyone besides me. |
Not a CMS because I'd rather keep the content separate from any instance of On 2 July 2015 at 17:07, Allyson Alves de Souza [email protected]
Travel back to the future of design at http://dconstruct.org/ |
I would like to give the website a thorough update to reflect and serve better today's browser capabilities and tools. What I have in mind at the moment is:
Does anyone have similar ideas? Would that be welcome as an update to webtypography.net or should I do it as a separate thing?
Any advice/feedback will be appreciated. I plan to do that as a little side project over the next few weeks and months.
The text was updated successfully, but these errors were encountered: