Skip to content

XDagger/XDagger.github.io

Repository files navigation

xdag.io

The website of XDAG, built with Jekyll.

News Posts guidelines

Setup

News posts are placed in _posts/. Articles of technology are place in /technology/techArticles(Articles of technology is sorted by name in reverse order )

The news filename must use the following format:

YYYY-MM-DD-title.md

The technology filename must use the following format:

technology-num.md

Where YYYY is the year (4 digits), MM the month (2 digits), DD the day (2 digits), and .md is the file extension representing the format used in the file. The following are examples of valid post filenames:

2018-01-31-Our-fresh-new-website.md
2018-02-03-What-tool-to-use-to-make-poll.md
2018-03-07-XDAG-v0.2.0-is-released.md

The file must start with the following YAML code:

---
layout: post
title: Title of the post
date: "YYYY-MM-DD hh:mm:ss"
image: "/assets/images/posts/.....jpg/png/gif/..."
---

Optional YAML tags:

  • image: Path to an image file. Displayed on platforms that support Open Graph Markup. Example format for an internal image: "/assets/images/posts/community-fund-rewards.jpg"
  • summary: Summary of the post content. Displayed on search engine results and platforms that support Open Graph Markup. By default, the first line from post content is used.

Writing

Markdown is used for rich text formatting, you can find examples here.

Build

Run command bundle install to install all dependency. Run command bundle exec jekyll serve you will see the website at http://127.0.0.1:4000/