Skip to content

Commit

Permalink
website: bulma update (#108)
Browse files Browse the repository at this point in the history
Signed-off-by: Yoan Blanc <[email protected]>
Reviewed-by: Pierre-Emmanuel Jacquier <[email protected]>
  • Loading branch information
greut authored Feb 28, 2019
1 parent c254bc9 commit 18f172e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 18 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Exoscale CLI
---
title: Exoscale CLI
description: |
Manage easily your Exoscale infrastructure from the command-line with `exo`.
[![Build Status](https://travis-ci.com/exoscale/cli.svg?branch=master)](https://travis-ci.com/exoscale/cli) [![Go Report Card](https://goreportcard.com/badge/github.com/exoscale/cli)](https://goreportcard.com/report/github.com/exoscale/cli) [![Docker image](https://images.microbadger.com/badges/image/exoscale/cli.svg)](https://microbadger.com/images/exoscale/cli "Get your own image badge on microbadger.com")

Manage easily your Exoscale infrastructure from the command-line with `exo`.
---

[![Build Status](https://travis-ci.com/exoscale/cli.svg?branch=master)](https://travis-ci.com/exoscale/cli) [![Go Report Card](https://goreportcard.com/badge/github.com/exoscale/cli)](https://goreportcard.com/report/github.com/exoscale/cli) [![Docker image](https://images.microbadger.com/badges/image/exoscale/cli.svg)](https://microbadger.com/images/exoscale/cli "Get your own image badge on microbadger.com")

## Installation

Expand Down
9 changes: 4 additions & 5 deletions website/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
<title>{{ block "title" . }}
{{ .Site.Title }}
{{ end }}</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.1/css/bulma.min.css">

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.4/css/bulma.min.css">
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>

<nav class="navbar is-dark" role="navigation" aria-label="main navigation">
<div class="container">
Expand All @@ -17,7 +18,7 @@
<span class="icon"><i class="fas fa-download"></i></span>
<span>Download</span>
</a>
<iframe src="https://ghbtns.com/github-btn.html?user=exoscale&repo=cli&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe>
<iframe src="https://ghbtns.com/github-btn.html?user=exoscale&repo=cli&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px" style="height: 30px !important"></iframe>
</div>
</div>
</div>
Expand All @@ -31,5 +32,3 @@
{{ block "footer" . }}{{ end }}

{{ partial "footer" . }}

<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
6 changes: 5 additions & 1 deletion website/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,22 @@
{{ .Title }} &ndash; {{ .Site.Title }}
{{ end }}
{{ define "main" }}

<section class="hero is-light is-bold">
<div class="hero-body">
<div class="container">
<h1 class="title is-1 is-spaced">{{ .Title }}</h1>
<p class="subtitle">{{ .Description | markdownify }}</p>
<div class="subtitle">{{ .Description | markdownify }}</div>
</div>
</div>
</section>

<section class="section">
<div class="container">
<div class="content">
{{ .Content }}
</div>
</div>
</section>

{{ end }}
9 changes: 3 additions & 6 deletions website/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,16 @@
<div class="hero-body">
<div class="container">
<h1 class="title">{{ .Title }}</h1>
<h2 class="subtitle">{{ .Description }}</h2>
<div class="subtitle content">{{ .Description | markdownify }}</h2>
</div>
</div>
</section>

<section class="section">
<div class="container">
<div class="content">
{{.Content}}
</div>
</div>

<section class="section">
<div class="container">
<h3 class="title">Commands</h3>
<ul>
{{ $paginator := .Paginate (where .Data.Pages "Type" "command") 20 }}
Expand All @@ -24,8 +21,8 @@ <h3 class="title">Commands</h3>
{{ end }}
</ul>

{{ partial "pagination.html" . }}
</div>
{{ partial "pagination.html" . }}
</section>

{{ end }}
2 changes: 1 addition & 1 deletion website/layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<footer class="footer" style="clear:both">
<div class="container">
<div class="content has-text-centered">
<p>{{ "Made with :heart: in Crissier, Switzerland :switzerland:." | emojify }}</p>
<p>{{ "Made with :heart: in Lausanne, Switzerland :switzerland:." | emojify }}</p>
<p>
Built with <a href="https://gohugo.io/">Hugo</a>, <a href="https://bulma.io/">Bulma</a>.
Hosted on <a href="https://github.com/exoscale/cli">GitHub</a>.
Expand Down
2 changes: 1 addition & 1 deletion website/layouts/partials/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h4 class="title is-5">
<a href="{{.Permalink}}">{{.Title}}</a>
</h4>
<p class="subtitle is-6 is-spaced">{{ .Description }}</p>
<p class="subtitle is-6 is-spaced">{{ .Description | markdownify }}</p>
</div>
</div>
</article>

0 comments on commit 18f172e

Please sign in to comment.