Drupal 8 Theming 研討會 Workshop

Submitted by Jenny on

在今年(2016年)五月20日及27日,經台北市教育局的邀請,John和我有機會跟台北市的國中小資訊老師們共聚一堂,與大家討論Drupal 8 theming.  大家相當踴躍發言、問問題、討論!兩天下來,大家都收穫滿滿!

我們討論的主題有:

第一天

  • Classy vs. Stable
  • Theme struture
    • .theme file
    • .info.yml file
    • libraries
    • breakpoints and responsive image styles
  • Zen sub-theme
    • drush command
    • Component Libraries module
  • Twig
    • Twig syntax
    • Variable drilling
    • Twig filters
    • Translation
    • Attribute object
    • Control directives
    • Extends
    • Embed
    • Debugging
    • Twig namespaces

第二天Day 2

  • Style building
    • components
    • KSS
    • Gulp.js
    • Linting
    • Watching
    • Theme hooks
    • Attaching libraries

Add new comment

The content of this field is kept private and will not be shown publicly.

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.