/tiendatek.mx-site

tiendatek.mx site

Primary LanguageHTML

Tiendatek.mx

IMPORTANT NOTE: This project is currently archived since this website was migrated to WordPress.

Build Status

This is the source code for Tiendatek website. It is based on Jekyll and deployed to Github pages

Install/run from local

First time only

You must have ruby and bundler installed:

gem install bundler

To install all dependencies:

make install

Every time

To run the web locally on http://localhost:4000

make

To execute all tests (or HTML tests or Css tests only):

make test
make test_html
make test_css

Contributing

General rules:

  • Run the tests (and fix them) before creating a pull request to master.
  • Use markdown (.md) instead of HTML (.html) when possible.

Writing posts

  1. Create a file on _posts folder. Follow name convention (reverse date + "slugified" title). For example: 2018-01-20-my-first-post.md
  2. Add the post header (with at least title, date, author and tags):
  3. Write your post (preferably in markdown)

Note that:

  • You must add Frogtek Tiendatek category to appear in /revista/ index
  • Post images/files must be on ./assets/posts folder
  • To refer internal link you must use a liquid expression like: {{ site.baseurl }}/relative_url

Sample:

---
layout: post
title: My first post`
date: 2018-01-20 13:13:54.000000000 +01:00
author: guillermo
categories:
- Revista Tiendatek
---
This is the excerpt of my first post.

I can use [Markdown](https://daringfireball.net/projects/markdown)

![sample image](https://media.giphy.com/media/A49qRTnZhaZDW/giphy.gif)

Tweak site style

Put your CSS on _sass folder.

Run css tests before commit ;)

Related documentation