Skip to content
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

Lot of Website improvements #49

Merged
merged 10 commits into from
May 6, 2016
Merged

Lot of Website improvements #49

merged 10 commits into from
May 6, 2016

Conversation

mathieucarbou
Copy link
Member

@mathieucarbou mathieucarbou commented May 5, 2016

FYI @ljacomet @jhouserizer

Added:

  • Blog posts page (headlines)
  • Blog page (blog content)
  • Comments through Disqus
  • Resources page
  • Updated README (how to create a blog post and resource links)
  • Added tag page (i.e. when clicking on a tag in a blog post)
  • Added Blog RSS feed (/feed.xml)
  • Added sitemap
  • Added the ability to "hide" blog articles from being published on website and rss feed
  • Updated the footer

Tested on some mobile devices.

@mathieucarbou mathieucarbou changed the title Blog section plus comments, Resources section, Authors Lot of Website improvements May 5, 2016
@mathieucarbou
Copy link
Member Author

Blog post page:

Mobile view of blog post page

List of blog posts

Ugly RSS/Atom Feed

Resources page

Tag page

And I won't show you the generated sitemap at /sitemap.xml :P

@@ -10,6 +10,10 @@
<span>&nbsp;&nbsp;</span>
<a href="/documentation/"><button type="button" class="btn btn-lg btn-primary"><i class="fa fa-book"></i> Documentation</button></a>
<span>&nbsp;&nbsp;</span>
<a href="/resources/"><button type="button" class="btn btn-lg btn-primary"><i class="fa fa-external-link-square"></i> Resources</button></a>
<span>&nbsp;&nbsp;</span>
<a href="/resources/"><button type="button" class="btn btn-lg btn-primary"><i class="fa fa-rss-square"></i> Ehcache Blog</button></a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there are too many top-level menu items now.

What about putting resources under "docs" and having a "blogs" with "ehcache blog" and "terracotta blog" under it?

Copy link
Member Author

@mathieucarbou mathieucarbou May 6, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I agree with you but I don't know the answer because when discussing with @ljacomet we decided to put resources there. I sincerely don't know now if it is better to move it or change the CSS to improve the font / space or anything else.

The issue currently is that the top bar is too long and on smaller resolution, the right side comes below the left side and it's ugly.

I'll change so that we can test!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with the sizing issue. I would indeed put the two blog sections under a single menu item.
For the rest, I believe having doc as a direct link remains interesting.
Could we group resources and downloads under a single menu item?

@jhouserizer
Copy link
Member

Nice work - thanks for doing it.

@jhouserizer
Copy link
Member

Does this fully replace #38 ?

@mathieucarbou
Copy link
Member Author

Yes, it replaces #35 and #38.

---
layout: post
title: "New Website"
headline: "The new Ehcache website is LIVE! Checkout its first post..."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't actually want to commit this file, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just for tests - What I would suggest is to set hidden: true. It won't appear in the website and not in the RSS feed, and it would still be there as an example.

@ljacomet
Copy link
Member

ljacomet commented May 6, 2016

In order to build, I had to install jekyll-sitemap - that's a worthy update on the readme.

@ljacomet
Copy link
Member

ljacomet commented May 6, 2016

@mathieucarbou Thanks a ton for the work - love it!

@mathieucarbou
Copy link
Member Author

@ljacomet @jhouserizer : here is what it looks like by moving resources under Community:

{% if site.disqus_shortname %}
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = '{{ site.disqus_shortname }}'; // required: replace example with your forum shortname
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be edited before enabling disqus?

Copy link
Member Author

@mathieucarbou mathieucarbou May 6, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created a Disqus channel named ehcache but it is on my account.
I would prefer to delete it so that we create the room from another much more official user. do we have one ? Or we use @jhouserizer or @ljacomet account ?

UPDATE: the idea would be to have one terracotta account, and then we can add seevral moderators (users) or admins.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can create a tc account

@mathieucarbou
Copy link
Member Author

@@ -7,7 +7,7 @@

// Our variables
$base-font-family: Helvetica, Arial, sans-serif;
$base-font-size: 16px;
$base-font-size: 16;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Saw a font size difference - might this be the guilty change? If the px needs to go, maybe try with 18 as the base font size.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes but its a bug to set a variable with a px value because its not an int variabel anymroe and cannot be part of computations by sass (that's why i removed the px).
Instead we should add the px suffx when we use the variable.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NB: its a bug in the mixins thing

@mathieucarbou
Copy link
Member Author

New screenshot:
Check the menu, top bar and footer:

@jhouserizer jhouserizer merged commit 3ceb041 into ehcache:master May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants