Skip to content

Commit

Permalink
add news
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldb committed Oct 22, 2016
1 parent 74d7c01 commit 5319321
Show file tree
Hide file tree
Showing 10 changed files with 250 additions and 3 deletions.
6 changes: 4 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
title: 'Planet Jekyll'

## note: in path do NOT include root (trailing slash) e.g. (/) - use empty string instead
path: ''
path: ''
baseurl: ''
url: 'http://planetjekyll.github.io'


Expand All @@ -23,6 +24,8 @@ collections:
output: true


permalink: /news/:title.html

sass:
sass_dir: css
style: expanded
Expand All @@ -40,4 +43,3 @@ exclude:

safe: true
lsi: false

26 changes: 26 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
layout: default
---

<div class="post container">

<h1>News and Updates</h1>

<header class="post-header">
<h2 class="post-title">{{ page.title }}</h1>
<p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}</p>
</header>

<article class="post-content">
{{ content }}
</article>

<div>
<b>More News</b>
<ul>
{% for post in site.posts %}
<li><a href="{{post.url}}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>
</div>
14 changes: 14 additions & 0 deletions _posts/2015-07-20-vienna.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
layout: post
title: "Vienna.html - Europe's 1st Static Site (Jekyll) User Group - Start Your Own City.html"
---

Still a little early - if you happen to be in Central Europe -
Gerald Bauer is starting up Europe's first Static Site (Jekyll) User Group in Vienna, Austria.
The group name is Vienna.html in honor of the static nature of a Jekyll site.

Missing out? No worries - why not start your own YourCity.html group (e.g Berlin.html, Seattle.html, and so on.) Anyone?

If you're interested in all things "Static is the new Dynamic"
follow along on Twitter [@viennahtml](https://twitter.com/viennahtml).
Join us. Free. No database required. Cheers.
16 changes: 16 additions & 0 deletions _posts/2015-07-30-jul15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: post
title: "Dr. Jekyll's Themes of the Month - July 2015 Edition - Holo Alfa, { Personal }, Clean Dark etc."
---

Let's welcome the July'15 Edition of the Dr. Jekyll's Themes of the Month series
that highlights ready-to-fork static site themes. The new themes include:

- Holo Alfa by Stijn van Cuijk
- { Personal } by Panos Sakkos
- Clean Dark by Pavel Makhov

Special thanks to Stijn van Cuijk, Panos Sakkos and Pavel Makhov for adding the new themes.

Find all themes at the [Dr. Jekyll's Themes](http://drjekyllthemes.github.io) directory.
Any theme missing? [Add your theme!](https://github.com/drjekyllthemes/themes) Cheers.
12 changes: 12 additions & 0 deletions _posts/2015-08-02-showcase.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: post
title: "Planet Jekyll's Showcase - The World's Greatest Static Sites - Polymer, Bootstrap, Open Data Handbook, And Many More"
---

Let's welcome [Planet Jekyll's Showcase](http://planetjekyll.github.io/showcase) that highlights the latest (and greatest)
static sites generated with the Jekyll machinery.
Open source static Jekyll sites include:
Bootstrap • Polymer • Electron • Planet Ruby • football.db • Choose A License •
Stack Exchange Blog • PHP: The Right Way • Open Data Handbok and many more.

Any site missing? Add your site! Cheers.
36 changes: 36 additions & 0 deletions _posts/2015-08-11-drjekyll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
layout: post
title: "drj/drjekyll - The Missing Static Site Theme Package Manager - New Jekyll Command Line Tool"
---

Let's welcome the [`drjekyll` ](https://github.com/drjekyllthemes/drjekyll) gem that includes a command line tool,
that is, `drjekyll` that lets you manage static site theme packages. For example, use:

```
$ drjekyll list # or
$ drj ls
```

to list all 100+ themes e.g. resulting in:

```
1..Planet Jekyll's Starter (Minimal) (starter | planetjekyllsstarterminimal) by Gerald Bauer - #white
2..Dr Jekyll's Minimal (minimial | drjekyllsminimal) by Gerald Bauer - #white
3..Dr Jekyll's Bootstrap (bootstrap | drjekyllsbootstrap) by Gerald Bauer - #bootstrap #sass #white
4..Dr Jekyll's Classics Book (classics | drjekyllsclassicsbook) by Gerald Bauer - #books #white
5..Poole (poole) by Mark Otto - #poole
6..Poole's Hyde (pooleshyde) by Mark Otto - #poole
7..Poole's Lanyon (pooleslanyon) by Mark Otto - #poole
8..Beautiful Jekyll (beautifuljekyll) by Dean Attali
...
```

To download and unzip a theme archive use the "installation code", for example, use:

```
$ drjekyll new starter # or
$ drj new starter
```

to dowload and unzip the Planet Jekyll's Starter (Minimal) theme and so on.
For more info see the drj/drjekyll project site. Cheers.
65 changes: 65 additions & 0 deletions _posts/2015-08-16-mrhyde.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
layout: post
title: "mrh/mrhyde - Static Site Quick Starter Script Wizard - Automate, Automate, Automate - New Jekyll Command Line Tool"
---

Let's welcome the [`mrhyde-tools`](https://github.com/mrhydescripts/mrhyde) gem that includes
a command line tool, that is, `mrhyde`
that lets you run static site quick starter wizard scripts. For example, use:

```
$ mrhyde new starter # or
$ mrh n starter
```

to download and install (unzip/unpack) a theme archive and configure a static site ready-to-use e.g.:

```
Welcome, before setting up your site Mr. Hyde will ask you some questions.
Q: What's your site's title? [Your Site Title]: Another Beautiful Static Site
Q: What's your name? [Henry Jekyll]: Edward Hyde
Q: Select your theme:
1 - Starter
2 - Bootstrap
3 - Minimal
Your choice (1-3)? [1]: 2
Thanks! Ready-to-go. Stand back.
Downloading Dr. Jekyll's Bootstrap Theme...
Setting up Dr. Jeykll's Bootstrap Theme..
...
Updating settings in _config.yml...
title: "Another Beautiful Static Site"
author.name: "Edward Hyde"
...
Done.
```

Why not write your own Mr. Hyde wizard script? It's just Ruby (with an added
mini language) e.g.:

```
say "Welcome, before setting up your site Mr. Hyde will ask you some questions."
title = ask "What's your site's title", "Your Site Title"
name = ask "What's your name", "Henry Jekyll"
theme = select "Select your theme", ["Starter", "Bootstrap", "Minimal"]
say "Thanks! Ready-to-go. Stand back."
install_theme theme
config do |c|
c.title = title
c.author.name = name
end
say "Done."
```

For more quick starter wizard scripts see the [Mr. Hyde's Scripts](https://github.com/mrhydescripts/scripts) library.
For more themes see the [Dr. Jekyll's Themes](http://drjekyllthemes.github.io) directory. Cheers.
20 changes: 20 additions & 0 deletions _posts/2015-08-30-aug15.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
layout: post
title: "Dr. Jekyll's Themes of the Month - August 2015 Edition - Leonids, Video, Centrarium etc."
---

Let's welcome the August'15 Edition of the Dr. Jekyll's Themes of the Month series
that highlights ready-to-fork static site themes. The new themes include:

- Leonids by RenYuan Zou
- Video by Max White
- Centrarium by Ben Centra
- Mickey by Vincent Chan
- Material Design Lite (MDL) by Oscar Cortez
- Planet Jekyll's Starter (Minimal) by Gerald Bauer

Special thanks to RenYuan Zou, Max White, Ben Centra, Vincent Chan and Oscar Cortez
for adding the new themes.

Find all themes at the [Dr. Jekyll's Themes](http://drjekyllthemes.github.io) directory.
Any theme missing? [Add your theme!](https://github.com/drjekyllthemes/themes) Cheers.
27 changes: 26 additions & 1 deletion css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,34 @@ a {
}



// note: add some padding for now
// post uses same default layout as theme for now
// use class="posts container" and "post container"
.posts.container,
.post.container {
padding-top: 12px;
padding-left: 24px;
padding-right: 24px;
padding-bottom: 12px;

h1 {
border-bottom: 1px solid black;
}

h2 {
border-bottom: 1px solid black;
font-weight: bold;
}
}



/* fix: use javascript?? jquery to add .programlisting class
to pre tags followed by code e.g. <pre><code> => <pre class='programlisting'><code>
for now assume all pres are programlistings
*/
*/
pre,
.programlisting
{
Expand Down Expand Up @@ -111,6 +134,8 @@ pre,

///////////////////////////////////////////
// move to _banner partial for reuse
// use banner-planets ?? partial - why? why not??


.banner {
color: white;
Expand Down
31 changes: 31 additions & 0 deletions news/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
layout: default
title: News and Updates
---

<div class='posts container'>

<h1>{{ page.title }}</h1>

<ul>
{% for post in site.posts %}
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>


{% for post in site.posts %}
<div class='post'>
<header class='post-header'>
<h2 class='post-title'>{{ post.title }}</h2>
<!--
<p class='post-meta'>{{ post.date | date: "%b %-d, %Y" }}</p>
-->
</header>

<article class='post-content'>
{{ post.content }}
</article>
</div>
{% endfor %}
</div>

0 comments on commit 5319321

Please sign in to comment.