You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2017/05/03 10:41:04 UTC
[18/50] [abbrv] james-project git commit: JAMES-1995 Allow rendering
of CSS on posts (which have an absolute path not being the root
JAMES-1995 Allow rendering of CSS on posts (which have an absolute path not being the root
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/8aceb8e9
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/8aceb8e9
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/8aceb8e9
Branch: refs/heads/master
Commit: 8aceb8e96997f3e76ea0b30f36c3bd6b2c0a0cdd
Parents: e6ff886
Author: benwa <bt...@linagora.com>
Authored: Wed Apr 12 13:53:21 2017 +0700
Committer: benwa <bt...@linagora.com>
Committed: Wed May 3 15:02:41 2017 +0700
----------------------------------------------------------------------
src/homepage/_layouts/default.html | 8 ++++----
src/homepage/_layouts/post.html | 19 ++++++++++++++-----
2 files changed, 18 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/james-project/blob/8aceb8e9/src/homepage/_layouts/default.html
----------------------------------------------------------------------
diff --git a/src/homepage/_layouts/default.html b/src/homepage/_layouts/default.html
index 1f21f32..22ef8a0 100644
--- a/src/homepage/_layouts/default.html
+++ b/src/homepage/_layouts/default.html
@@ -21,10 +21,10 @@
<head>
<title>{{ page.title }}</title>
<!-- link to main stylesheet-->
- <link rel="stylesheet" type="text/css" href="assets/css/main.css">
- <link rel="stylesheet" type="text/css" href="assets/css/font-awesome.min.css">
- <link rel="stylesheet" type="text/css" href="assets/css/ie8.css">
- <link rel="stylesheet" type="text/css" href="assets/css/ie9.css">
+ <link rel="stylesheet" type="text/css" href="/assets/css/main.css">
+ <link rel="stylesheet" type="text/css" href="/assets/css/font-awesome.min.css">
+ <link rel="stylesheet" type="text/css" href="/assets/css/ie8.css">
+ <link rel="stylesheet" type="text/css" href="/assets/css/ie9.css">
http://git-wip-us.apache.org/repos/asf/james-project/blob/8aceb8e9/src/homepage/_layouts/post.html
----------------------------------------------------------------------
diff --git a/src/homepage/_layouts/post.html b/src/homepage/_layouts/post.html
index d38a92e..6e21780 100644
--- a/src/homepage/_layouts/post.html
+++ b/src/homepage/_layouts/post.html
@@ -20,13 +20,22 @@ layout: default
under the License.
-->
+<link href="/assets/css/lightbox.css" rel="stylesheet">
<div id="wrapper" class="post-page">
+ <div class="apache_ref">
+ <a href="https://www.apache.org" alt="apache foundation link"><img src="https://www.apache.org/foundation/press/kit/asf_logo.svg" title="apache foundation logo"/></a>
+ </div>
+ <div class="apache_ref_mobile">
+ <a href="https://www.apache.org" alt="apache foundation link">The Apache Software Foundation</a>
+ </div>
- <!-- Header -->
- <header id="header" class="alt">
- <h1><span class="icon fa-file-text-o"></span> {{ page.title }}</h1>
- <p>{{ page.date | date: '%B %d, %Y' }}</p>
- </header>
+ <header id="header" class="alt">
+ <div class="logo"><img src="/images/james.svg" alt="james logo"/></div>
+ <h1 class="hidden">James Enterprise Mail Server</h1>
+ <h2>Emails at the heart of your business logic</h2>
+ <h2><span class="icon fa-file-text-o"></span> {{ page.title }}</h2>
+ <p>{{ page.date | date: '%B %d, %Y' }}</p>
+ </header>
<!-- Main -->
<div id="main">
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org