Closed QuillPusher closed 5 months ago
are the images being added here not already part of the website?
@davidlange6 No, this is how it looks on my localhost after making the changes. I just shared these images to show how this change will reflect on the website after the merge
eg they are here already, no https://github.com/compiler-research/compiler-research.github.io/tree/master/images/blog
just found that the previous images are from a "Blog Draft" page that is not rendered anywhere on the website.
I suggest that we let my changes go in as they are, since the image files are named logically, based on blog post name. Also I formatted the images to look better with the rest of the content.
The existing images and the "_pages/blog_post.md" can perhaps be removed in a separate PR, along with other dead areas of the website that are not rendered anywhere
That makes the repository bigger and the deployment of the website unnecessarily slower. Even if we delete these files afterwords they still contribute to the overall size as they are present in the repository history.
and here is where they are used on the website... https://compiler-research.org/interactive_cpp best not to duplicate content
On a closer look the older images are inconsistent.
Please let me know if I should revert to older images, because then that would require me deleting some images and adding some images anyway.
On a closer look the older images are inconsistent.
* There is **one image missing** (cling-2020-12-21-figure3.png).
Adding this should be fine.
* One of them is a **PNG instead of a GIF** (cling-2020-12-21-figure9.gif/figure10.png) which defeats the purpose
Those are two different items then and adding the gif is probably fine.
* There's another one that's **different from the original image** (cling-2020-12-21-figure1.png/figure3.png).
Let's replace the wrong image.
* Also some of the older images are **lower resolution**.
Let's replace the lower resolution images with the higher resolution ones.
Please let me know if I should revert to older images, because then that would require me deleting some images and adding some images anyway.
We should update the ones that are crappy and add the ones that are not duplicated.
created a blog.html
Layout (used by blog.md)
created a blog.md
page (main blog page, where excerpts of blogs are listed)
moved existing blog posts from _pages\blogs
to _posts
as per standard jekyll practice (this makes available several variables like post.url
)
added date
parameter to existing blog posts' front matter to use for blog sorting.
Changed Layout to post
for blog posts (uses the existing post.html
layout. I have tested it, the output looks OK).
Added 'title' and 'excerpt' in front matter to display on main Blog page (otherwise they would have been auto created based on file name and first paragraph)
removed additional posts and images (will be a separate PR)
Will add a 'how to add a blog entry' guide separately as part of a new 'contribution guide'.
BLOG
Preparing to add multiple Blog Posts (including Xeus-Cpp) that I've gathered info on. Will also share to LinkedIn.
Added blog.html layout and blog.md page to add Blog functionality
Reformatted existing articles to work with default blog functionality (file names, dates, excerpts, etc.)
moved articles from "_pages/blogs" to "_posts" as per standard Jekyll practice (this helps generate default variables like post.url)
moved articles still work with old link, so linkbacks will not be broken (tested)
Did not add "Blog" menu to Home page navigation, will do that as part of Front Page Customization PR
Note: I found that following images were missing on Fred's blog (cc1.gif, cc2.gif, tcc.gif). I have added screenshots from his presentation for now and emailed him for actual moving GIF files that show Code Completion demo