Skip to content
Browse files
Files and config to generate web preview figure.
When posting on social media website, we need
a small, nice figure for the front page. This
is now generated using the front.html layout.
This layout is identical to the default layout
except it has a separate hard-coded preview file
  • Loading branch information
animeshtrivedi committed Feb 8, 2018
1 parent 2e861e0 commit 1a5d033dcf825fa7b806b1f8553ae8055e0359ec
Showing 5 changed files with 60 additions and 3 deletions.
@@ -7,7 +7,7 @@ all: _site/index.html

_site/index.html _site/wacas14/index.html:
jekyll build $(BUILDARGS)
bundle exec jekyll build $(BUILDARGS)

#_includes/pubs.html: bib/pubs.bib bib/publications.tmpl
# mkdir -p _includes
@@ -18,7 +18,7 @@ _site/index.html: $(wildcard *.html) _config.yml _layouts/default.html
$(RM) -r _site

PATHSVR := www/
deploy: clean all
rsync --compress --recursive --checksum --itemize-changes --delete -e ssh _site/ $(HOST):$(PATHSVR)
BIN +139 Bytes (100%) site/_graphix/stack.odp
Binary file not shown.
@@ -0,0 +1,57 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>{{ }}: {{ page.title }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="{{ site.base }}/css/bootstrap.min.css" rel="stylesheet">
<link href="{{ site.base }}/css/group.css" rel="stylesheet">
<link rel="alternate" type="application/atom+xml" title="Atom"
href="{{ site.base }}/blog/blog.xml">
<meta property="og:image" content="{{ site.base }}/img/crail-stack-preview.png" />
<meta property="og:image:secure_url" content="{{ site.base }}/img/crail-stack-preview.png" />

<div class="container">
<div class="header">
<ul class="nav nav-pills pull-right">
{% assign shorturl = page.url | replace:".html",'' %}
{% for item in site.navigation %}
{% assign itemurl = |replace:".html" ,'' %}
<li {% if itemurl == shorturl %}class="active"{% endif %}>
<a href="{{ site.base }}{{ }}">
{{ item.title }}
{% endfor %}
<a href="{{ site.base }}/">
<img src="{{ site.base }}/img/crail_logo.png"
srcset="{{ site.base }}/img/crail_logo.png"
alt="Crail" id="logo">

{% comment %}Liquid is sort of terrible! I think "!= true" is the
only way to do negation?{% endcomment %}
{% if page.notitle != true %}
<h2>{{ page.title }}</h2>
{% endif %}

{{ content }}

<div class="footer">
<p>Apache Crail is an effort undergoing <a href="">incubation</a> at <a href="">The Apache Software Foundation (ASF)</a>, sponsored by the Apache Incubator PMC. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

</div> <!-- /container -->

<!-- Support retina images. -->
<script type="text/javascript"
src="{{ site.base }}/js/srcset-polyfill.js"></script>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -1,5 +1,5 @@
layout: default
layout: front
title: Overview
notitle: true

0 comments on commit 1a5d033

Please sign in to comment.