Coder Social home page Coder Social logo

nadalsol / themountdata Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 238.36 MB

We believe in data, technology and analitics for marketing and sales.

Home Page: https://nadalsol.github.io/themountdata/

HTML 42.09% Ruby 2.39% CSS 48.90% JavaScript 6.56% Shell 0.05%

themountdata's Introduction

The Mount Data

  1. Description
  2. Installation
  3. Usage
  4. Configuration
  5. Publish
  6. Authors

Description

This site has been created using Jekyll, GitHub and GitHub Pages.

  • Jekyll is a simple, blog-aware, static site generator.
  • GitHub is a development platform where you can host and review code.
  • GitHub Pages is a static site hosting service designed to host your personal, organization, or project pages directly from a GitHub repository.

Installation

First install Ruby and RubyGems.

Then you can install Jekyll with the following command:

$ gem install jekyll bundler

Clone GitHub repo:

$ git clone [email protected]:yourusername/yoursitename.git

Usage

Change into your new directory:

$ cd yoursitename

Build the site on the preview server:

$ bundle exec jekyll server

Now browse to http://localhost:4000

♻️ Don't forget to reload your browser to apply new changes.

Configuration

Site settings in the _config.yml file, are used to personalize your new site. If you look in the HTML files, you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. You can create any custom variable you would like, and they will be accessible in the templates via {{ site.myvariable }}.

Multilingual references

Indicate, for each post and page, its language (lang) and an unique identifier (ref) to link the different translations. Jekyll will do the rest!

To do so, we will use lang et ref in the Front Matter of each post and page. For instance, in Spanish:

---
title: ¡Hola mundo!
lang: es
ref: hola
---

Then, in English:

---
title: Hello world!
lang: en
ref: hola
---

Or, in Catalan:

---
title: Hola món!
lang: ca
ref: hola
---

More info:

Translations

Just edit the _config.yml file to add or modify translations.

Example translation:

t:
  es:
    cookie_message:
      text: "The Mount Data utiliza cookies"
      text_link: "política de cookies"
    ...
  ca:
    cookie_message:
      text: "The Mount Data fa servir galetes"
      text_link: "política de galetes"
    ...
  en:
    cookie_message:
      text: "The Mount Data uses cookies"
      text_link: "cookie policy"
    ...

Then, in the cookie-message.html file, do this to show up the translated strings for the proper language:

<p>
  {{ site.t[page.lang]cookie_message.text }}
  <a href="#">{{ site.t[page.lang]cookie_message.text_link }}</a>
</p>

⚠️ For technical reasons, the _config.yml file is NOT reloaded automatically when you use $ bundle exec jekyll serve. If you change this file, please restart the server process.

Publish

Jekyll's simplified build process with GitHub Pages is one of the biggest advantages of using Jekyll. GitHub Pages manages your site's build process with a single push to your site's publishing branch. This is Jekyll's build process for managing your site:

  1. Push file changes to your pages publishing branch.
  2. GitHub Pages publishes your site.

Example workflow (assuming master branch is your pages publishing branch):

  1. Work in the develop branch.
  2. When your work is finished, merge develop branch into master.
  3. Push your master branch.
  4. GitHub Pages publishes your site to https://yoursitename.com.

More info:

Authors

This project has been designed and developed by 🎩 🐧 Mr. Puffin Studio, a communication studio based in Vilassar de Mar, Barcelona.


Nadal Soler

@nadalsol


Front-end Web Developer


Miriam Soto

@coolcolors


Senior UI & Visual Designer / Creative Director

themountdata's People

Contributors

nadalsol avatar

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.