-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add blog #1483
Comments
What type of features? I assume you just mean that blog posts would be committed by your team (or others w. your permission) as files added the blog folder. Like by developers who know how to do such things. Adding a editor and blog post capabilities is possible for me to do, but if authentication does not already exist, then anyone could post. If I understand I assume you don't want that. So we'd just need to add a blog link to the nav and then serve any posts from the blog folder, which Jekyll does very easily. I can handle this if you confirm this will work. |
@chrisdel101 Thanks for offering... And yes, by "features" I was just referring to basic Jekyll blog features, i.e. as explained in https://jekyllrb.com/docs/posts/. As you say, the idea is that new blog posts would be written/published using the current GitHub/PR flow as for the rest of the docs. IMO, the minimal work to add a blog would be:
I might be missing some other steps, but that's the general idea. Until we have some "real" blog posts, just start with a "Welcome to the Express blog" placeholder post that explains HOW to write a post and submit a PR to publish it. Once this framework is in place, I hope folks in the TC and others will start writing posts with real content. |
Okay, will look into this. |
- add blog post to header - add min height to posts page - add blog/posts index page
This is great @chrisdel101 ... Thanks for taking this on!
I think initially, just a reverse chronological list, i.e. with the most-recent post first, followed by the one before that, and so on... That should be fine until we have more than a handful of posts, at which point we can discuss dividing them by month, quarter, or whatever, depending on how often we have posts. We just don't know yet, since we haven't had a blog before! Each post in this list should include title, publication date, author(s), and excerpt (maybe, see below).
Yes, but it might be nice to display a list of posts/links in the left gutter (otherwise empty), without all the extra stuff (author, date, etc) to provide a kind of navigation among the blog post.. This is similar to how the API reference works. If we do this, then the blog "home page" could always show the complete most-recent post, and the links in the left gutter would link to older ones. Alternatively, the "home page" would show the list of all the posts with short excerpts, and perhaps the most-recent one would have a longer excerpt. I think the first way is more common, but I'm open to either approach. Otherwise, having the blog post layout the same as the current page layout seems fine to me. We do need to think about how the authors and date will be displayed... As sub-headings below the title, presumably. Otherwise, at your discretion. Re: tags, I think that's a great idea that would be helpful in the long run, but I think we can live without it for the initial incarnation. It won't even be relevant until we have a number of posts, and as previously noted, this is so new it's hard to know if/when we'll have many... |
- add single template style to posts page; will handle all post displays - build posts template styles
- add futher posts index styles (based on shopify blog UI) - remove parens in liquid
- liquid func to strip out top part of excerpt - add active to first item
- add gutter links for tags - add JS to handle gutter tags - add CSS for gutter + posts - add blog specfic layout
This looks good as far as I can tell, but it's a bit hard just from the above... If you could open a PR, now that we have deploy previews (thanks @jonchurch), we could see how it looks in action. Then I might be able to give more specific/useful feedback. |
makes sense. i’ll get something presentable ready before asking feedback further. making a PR like you said sounds good. i’m having some trouble with the navbar. it seems weirdly put together. it’s breaking with the addition of an extra item in there. once, and if, i sort that out i’ll put this through for you to look at. |
Hey @UlisesGascon. Do you mind if I create my blog post pull request once the blog’s structure is officially merged? It’ll make it easier for me to format it. 😊 |
Yeah! no problem :) |
- add search bar style adjustments
- adjust tags side menu and remove from workflow - add in second side menu - add How To write Post page - add more styles
- add example post page layout - add all links to side menu
- readd post width 100%; imgs are not all same size this way - add border to post - change menu text color - save 3 sample posts to use for preview - will need deletig
- update file names
- change file name
- change updated file name - fix wrong example link - fix wrong div placement
* Issue #1483 - add blog post to header - add min height to posts page - add blog/posts index page * Issue #1483 - add single template style to posts page; will handle all post displays - build posts template styles * Issue #1483 - add futher posts index styles (based on shopify blog UI) - remove parens in liquid * Issue #1483 - liquid func to strip out top part of excerpt - add active to first item * Issue #1483 - add gutter links for tags - add JS to handle gutter tags - add CSS for gutter + posts - add blog specfic layout * Issue #1483 - add search bar style adjustments * Issue #1483 - adjust tags side menu and remove from workflow - add in second side menu - add How To write Post page - add more styles * Issue #1483 - add example post page layout - add all links to side menu * Issue #1483 - readd post width 100%; imgs are not all same size this way - add border to post - change menu text color - save 3 sample posts to use for preview - will need deletig * Issue #1483 - update file names * Issue #1483 - change file name * Issue #1483 - change updated file name - fix wrong example link - fix wrong div placement * PR #1519 - remove example post - add Posts menu to gutter * PR #1519 - add href to posts menu - add styles to post menu - adjust dark styles to post menu * PR #1519 - adjust posts filter author - add Welcome post * PR #1519 - small text changes * PR #1519 - revamp write a post instructions - re-name css variables - increase post font size - add custom image to blog - add comment about img * PR #1519 - adjust headings - small adjust content * PR #1519 - add new line about pre-approval * Update css/style.css Co-authored-by: Michael Esteban <[email protected]> * PR #1519 - add bullet about how to use preview feature * PR #1519 - fix typo * fix typo * Update 2024-05-25-welcome-post.md Some edits to the initial blog post. * Update 2024-05-25-welcome-post.md - Add blank subtitle * PR #1519 - remove image and related markup/css * Add blog to jekyll config, update blog layout template * PR #1519 - move more to config - add conds to all to avoid errors in layout - remove excerpt sep since it's not needed * PR #1519 - remove quotes - update write file * PR #1519 - lower transition fade time * Further changes, hopefully close to final * Fix issues that Chris raised, etc. * Add all posts to blog menu * Change link for Blog menu item to latest post * PR #1519 - add mobile styles to write.md image - remove unused cond in post.html - remove active class in post.md * PR #1519 Small styles remove dummies - remove dumm posts - move inline styles from post - remove css comments - add small margins * PR #1519 - Remove image - undo css first child change --------- Co-authored-by: Michael Esteban <[email protected]> Co-authored-by: Rand McKinney <[email protected]>
Fixed by #1519 |
* Issue expressjs#1483 - add blog post to header - add min height to posts page - add blog/posts index page * Issue expressjs#1483 - add single template style to posts page; will handle all post displays - build posts template styles * Issue expressjs#1483 - add futher posts index styles (based on shopify blog UI) - remove parens in liquid * Issue expressjs#1483 - liquid func to strip out top part of excerpt - add active to first item * Issue expressjs#1483 - add gutter links for tags - add JS to handle gutter tags - add CSS for gutter + posts - add blog specfic layout * Issue expressjs#1483 - add search bar style adjustments * Issue expressjs#1483 - adjust tags side menu and remove from workflow - add in second side menu - add How To write Post page - add more styles * Issue expressjs#1483 - add example post page layout - add all links to side menu * Issue expressjs#1483 - readd post width 100%; imgs are not all same size this way - add border to post - change menu text color - save 3 sample posts to use for preview - will need deletig * Issue expressjs#1483 - update file names * Issue expressjs#1483 - change file name * Issue expressjs#1483 - change updated file name - fix wrong example link - fix wrong div placement * PR expressjs#1519 - remove example post - add Posts menu to gutter * PR expressjs#1519 - add href to posts menu - add styles to post menu - adjust dark styles to post menu * PR expressjs#1519 - adjust posts filter author - add Welcome post * PR expressjs#1519 - small text changes * PR expressjs#1519 - revamp write a post instructions - re-name css variables - increase post font size - add custom image to blog - add comment about img * PR expressjs#1519 - adjust headings - small adjust content * PR expressjs#1519 - add new line about pre-approval * Update css/style.css Co-authored-by: Michael Esteban <[email protected]> * PR expressjs#1519 - add bullet about how to use preview feature * PR expressjs#1519 - fix typo * fix typo * Update 2024-05-25-welcome-post.md Some edits to the initial blog post. * Update 2024-05-25-welcome-post.md - Add blank subtitle * PR expressjs#1519 - remove image and related markup/css * Add blog to jekyll config, update blog layout template * PR expressjs#1519 - move more to config - add conds to all to avoid errors in layout - remove excerpt sep since it's not needed * PR expressjs#1519 - remove quotes - update write file * PR expressjs#1519 - lower transition fade time * Further changes, hopefully close to final * Fix issues that Chris raised, etc. * Add all posts to blog menu * Change link for Blog menu item to latest post * PR expressjs#1519 - add mobile styles to write.md image - remove unused cond in post.html - remove active class in post.md * PR expressjs#1519 Small styles remove dummies - remove dumm posts - move inline styles from post - remove css comments - add small margins * PR expressjs#1519 - Remove image - undo css first child change --------- Co-authored-by: Michael Esteban <[email protected]> Co-authored-by: Rand McKinney <[email protected]>
In the TC meeting, @UlisesGascon suggested that we add a blog section to the website for security notices and other timely information, and I wanted to record this idea before it slipped away. I think there's a lot of value in this kind of information, which is somewhat outside the normal scope of documentation, and eventually we could get guest submissions from the community on all kinds of topics of general interest to Express devs.
Jekyll was originally a blog, so it's got lots of features for blogging.
The text was updated successfully, but these errors were encountered: