Code Monkey home page Code Monkey logo

Comments (10)

heathermiller avatar heathermiller commented on July 29, 2024

Link to these two indices at the bottom of the announcement/blog/etc feed on the front page, and also in the footer.

from scala-lang.

heathermiller avatar heathermiller commented on July 29, 2024

This one can be implemented by someone else, and I can take it afterwards to do any required layout-ing

from scala-lang.

sjrd avatar sjrd commented on July 29, 2024

Implemented for news at http://www2.scala-lang.org:8888/news/ with a link to that one under the news feed of the front page.

Two questions:

  • Does it do what you wanted it to do? Am I missing something?
  • I understand you want a different page for blog posts, but currently blog posts seem to be a type of news item. Shall I filter these out of the news and display in /blog/? Should they be in /blog/_posts/ instead?

from scala-lang.

heathermiller avatar heathermiller commented on July 29, 2024
  1. yep, that looks great!
  2. ah yes, that's right, I completely forgot about that detail. Personally, I think they should be filtered out of the news items- but I'm not sure if that makes sense. Blog articles could be considered news items. I think my idea was that if people just wanted to see blog articles (which would appear probably very seldomly) there should be a way to sort them out of the bazillions of news items we'll have about milestones, maintenance releases, etc.

from scala-lang.

heathermiller avatar heathermiller commented on July 29, 2024

So to continue point #2, maybe we keep the blog items in the news feed, but we filter the news items out from the blog items to make a blog index? so the news page has everything, and the blog page has only blog articles.

Does that make sense? WDYT?

from scala-lang.

sjrd avatar sjrd commented on July 29, 2024

I think that makes sense. I'll implement that.

from scala-lang.

heathermiller avatar heathermiller commented on July 29, 2024

Awesome, thanks Sebastien :)

from scala-lang.

sjrd avatar sjrd commented on July 29, 2024

OK done.
However, note that, since one post (in Jekyll's terms) can have only one URL, links found on /blog/ will point to /news/xx. And on that page, the list on the right will display all news (not only blog posts). I don't think I can work around that.

from scala-lang.

heathermiller avatar heathermiller commented on July 29, 2024

Awesome, now onto styling :)

from scala-lang.

sjrd avatar sjrd commented on July 29, 2024

Done 9f64662.
Since the front page already offers an overview of the latest 4 posts, the News Archive main body is simply the list of entries.
Hence this page, and news/blog/etc. pages can follow the 'page' layout, and everything is styled out correctly without maintenance overhead.

from scala-lang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.