Giter Club home page Giter Club logo

site's Introduction

Repo of the veloren.net website

Setup

This website uses the Zola static site generator.
Unafortunately there are some problems with the latest version of Zola, as a workaround you have to use the 0.15 version.

To get a server with live reloading run zola serve

Cheatsheet

+++
title = "This Week In Veloren 42"
description = ""

date = 2020-01-31
weight = 0
slug = "devblog-42"

[extra]
banner = "https://.../screenshot.png"
# uncomment one of these to replace this page's background image, either via an absolute url or a relative one
#background = "https://.../screenshot.png"
#background = "header.png"

[taxonomies]
tags = ["devblog"]
+++

Blog content goes here!

Images

Add an image:

{{ img(src="https://.../foo.png") }}

With an alt text, for screen readers etc:

{{ img(src="https://.../foo.png", alt="Foo") }}

With a caption:

{{ img(src="https://.../foo.png", alt="Foo", caption="This is a nice foo image contributed by @foo!") }}

Videos

mp4 video, direct download (e.g. a discord url):

{{ video(src="https://.../foo.mp4") }}

With a caption:

{{ video(src="https://.../foo.mp4", caption="This is a nice video") }}

Different video type:

{{ video(src="https://.../foo.ogv", type="video/ogg") }}
{{ video(src="https://.../foo.ogv", type="video/ogg", caption="An ogg vorbis video") }}

Youtube video:

{{ youtube(id="dQw4w9WgXcQ") }}

With caption:

{{ youtube(id="dQw4w9WgXcQ", caption="Best song ever.") }}

Audio

ogg, direct download:

{{ audio(src="https://.../foo.ogg") }}

With a caption:

{{ audio(src="https://.../foo.ogg", caption="Nice music") }}

mp3, direct download:

{{ audio(src="https://.../foo.mp3", type="audio/mpeg3") }}
{{ audio(src="https://.../foo.mp3", type="audio/mpeg3", caption="Nice music") }}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.