Giter VIP home page Giter VIP logo

haml-site's Introduction

haml-site's People

Contributors

albertyw avatar amatsuda avatar chrishepner avatar dependabot[bot] avatar hamptonmakes avatar nex3 avatar nickawalsh avatar norman avatar olivierlacan avatar rauberdaniel avatar thebrenny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

haml-site's Issues

ERB example code on front page is incorrect (uses curly quotes)

The example on the front page is:

<section class=”container”>
  <h1><%= post.title %></h1>
  <h2><%= post.subtitle %></h2>
  <div class=”content”>
    <%= post.content %>
  </div>
</section>

It uses U+201C and U+201D ( and ) that are changed by ERB and won’t in HTML documents; instead of U+0022 (ASCII quotation mark). It should be:

<section class="container">
  <h1><%= post.title %></h1>
  <h2><%= post.subtitle %></h2>
  <div class="content">
    <%= post.content %>
  </div>
</section>

Site is out-of-date

This is mostly to gauge interest is at least some minor fixes, specifically updating the version number and CHANGELOG link.

Options?

Continuing haml/haml#1101 (comment).

I'd like to know what options are available in Haml. But I cannot find them.

Looking at the Documentation, it links to "options", and yet that page lists no option whatsoever and has no "options" anchor:

curl -sL https://haml.info/docs/yardoc/file.REFERENCE.html\#options | grep options; echo $?
# 1

I was referred to REFERENCE.md, but that only describes how to pass options, not the available options.

Syntax highlighting in REFERENCE

Hello,

As you can see in the Custom filters section of the REFERENCE, syntax highlighting for Ruby code hasn’t worked at all.

Also, what about enabling syntax highlighting for HTML and Haml codes in the REFERENCE? On Wikipedia, you can see they’re colored.

Homepage haiku isn't 5-7-5

%h1
  Beautiful, DRY,<br />
  well-indented, clear markup:<br />
  %strong templating haiku.

From Wikipedia:

Traditional haiku consist of 17 on, in three phrases of five, seven and five on respectively. Among contemporary poems teikei (定型 fixed form) haiku continue to use the 5-7-5 pattern while jiyuritsu (自由律 free form) haiku do not.[citation needed] One of the examples below illustrates that traditional haiku masters were not always constrained by the 5-7-5 pattern.

Presuming the intent was to follow a common haiku format, the current haiku only represents a 4-7-5 meter. Might I suggest a couple of possible corrections to return to the traditional 5-7-5:

Beautiful and DRY,
well-indented, clear markup:
templating haiku.
Beautifully DRY,
well-indented, clear markup:
templating haiku.

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.