jelko / jelkoarnds.com_v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

personal website (v3)

  • jekyll (hosted on GitHub pages)
  • projects as custom collection
  • layouts: default, project(, home)
  • includes: header, footer, analytics
  • js loading with requirejs
  • fonts: Input mono (local) Eczar (Google Fonts)

click-through thingy

  • every element (all a, all span) need a id
  • add data-opens attribute with id of corresponding element to attach opening action
  • add data-closes attribute for the same, but closing
  • if a is missing the id clicking (class clicked) can not be tracked.
  • add class="on" for the spans that shall be visible initially

EXAMPLE: `Hello. How are you?``

Regex to find anchors without id: <a (?!.*id=).[^>]*>

You will make mistakes: Validate!

About


Languages

Language:JavaScript 45.2%Language:HTML 29.1%Language:CSS 19.0%Language:Ruby 6.8%