Skip to content
Snippets Groups Projects
Commit b17bf9e2 authored by Kwangjin Lee's avatar Kwangjin Lee
Browse files

add detailed hyper link, and add gitignore public directory

parent 150f2730
No related branches found
No related tags found
No related merge requests found
Pipeline #248880 passed
......@@ -7,3 +7,4 @@ Gemfile.lock
_site/
node_modules/
vendor/
public/
\ No newline at end of file
......@@ -4,11 +4,7 @@
{%- endif -%}
<div>
<h3 class="staffer-name" id="{{ page.name | slugify }}">
{%- if page.website -%}
<a href="{{ page.website }}">{{ page.name }}</a>
{%- else -%}
{{ page.name }}
{%- endif -%}
{%- if page.pronouns -%}
<span class="staffer-pronouns">{{ page.pronouns }}</span>
{%- endif -%}
......@@ -23,5 +19,10 @@
<p class="staffer-meta">Office Hours: {{ page.office-hours | markdownify | strip_html }}</p>
{%- endif -%}
{{ content }}
{% capture staff_page_url %}{{ site.url }}/staff/{{ page.detail }}{% endcapture %}
{% assign current_page_url = site.url | append: page.url %}
{%- if page.detail and current_page_url != staff_page_url -%}
<p><a href="{{ staff_page_url }}" class="staff-details-link">More about me!</a></p>
{%- endif -%}
</div>
</div>
</div>
\ No newline at end of file
......@@ -23,4 +23,13 @@
.staffer-meta {
@extend .text-grey-dk-000;
}
a.staff-details-link {
color: #f44336 !important; /* Red color */
text-decoration: none; /* Removes the underline */
&:hover {
text-decoration: underline; /* Adds underline on hover */
}
}
}
\ No newline at end of file
......@@ -4,4 +4,5 @@ role: Instructor
pronouns: Associate Professor
email: R.B.J.Brinkgreve@tudelft.nl
photo: Ronald.jpg
detail: ronald
---
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment