Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

How to add a <br> to Resume Theme...not using admin

Started by Muut Archive 10 years ago · 5 replies · 395 views
10 years ago

How to add a <br> to Resume Theme...not using admin

10 years ago

http://okaynext.com/resume/

YAML

title: EXPERIENCE
date: 13:34 06/21/2014 

experience:
  - date: From 2003 to Current
    role: Teacher, Administrator, Site Coordinator, Director.
    company: Waller ISD, Maury County Public Schools
    years: 14
    animation: fadeIn  

NEED <BR> here...

  - date: From 1996 to Current
    role: Graphics & Web.
    company: Freelance. My Kungfu is Strong!
    years: 20
    animation: fadeIn

taxonomy: 
    category: right
---
10 years ago

I'm not sure what your asking? The frontmatter section is written in YAML. You can't use HTML in there, nor would you want to. That section is converted into PHP arrays that you can iterate over in Twig like this:

TWIG
{% for item in page.header.experience %}
<p class="{{ item.animation }}">
Date: {{ item.date}} <br />
Role: {{ item.role}} <br />
Company: {{ item.company}} <br />
Years: {{ item.years}} <br />
</p>
{% endfor %}

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1362 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1124 9 years ago