Rename directories
This commit is contained in:
parent
13ea82323b
commit
e971dbda24
31 changed files with 0 additions and 0 deletions
21
source/_includes/project/company.html.twig
Normal file
21
source/_includes/project/company.html.twig
Normal file
|
@ -0,0 +1,21 @@
|
|||
{% if page.company %}
|
||||
{% set company = site.companies[page.company] %}
|
||||
|
||||
<div class="project-company {{ company.logo ? 'has-logo' : 'no-logo' }}">
|
||||
<h2>Built {{ page.freelance ? 'for' : 'whilst at' }}</h2>
|
||||
|
||||
{% if company.logo %}
|
||||
{% set name = '<img src="/assets/images/experience/' ~ company.logo ~ '" alt="' ~ company.name ~ '">' %}
|
||||
{% else %}
|
||||
{% set name = company.name %}
|
||||
{% endif %}
|
||||
|
||||
{% if company.url %}
|
||||
<a href="{{ company.url }}" title="{{ company.name }}">
|
||||
{{ name|raw }}
|
||||
</a>
|
||||
{% else %}
|
||||
{{ name|raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
3
source/_includes/project/image.html.twig
Normal file
3
source/_includes/project/image.html.twig
Normal file
|
@ -0,0 +1,3 @@
|
|||
{% if page.image -%}
|
||||
<img src="/assets/images/projects/{{ page.image.name ?: page.image }}" alt="{{ page.image.alt }}">
|
||||
{%- endif %}
|
11
source/_includes/project/skills.html.twig
Normal file
11
source/_includes/project/skills.html.twig
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% if page.skills %}
|
||||
<div class="project--skills">
|
||||
<h2>Skills</h2>
|
||||
|
||||
<ul>
|
||||
{% for item in page.skills|sort %}
|
||||
<li>{{ site.skills[item].title }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
5
source/_includes/project/website.html.twig
Normal file
5
source/_includes/project/website.html.twig
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% if page.website %}
|
||||
<a class="project-website btn btn-primary" href="{{ page.website }}">
|
||||
View the website
|
||||
</a>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue