test updated people img path
This commit is contained in:
@@ -5,7 +5,7 @@ template: "person_page.html"
|
||||
extra:
|
||||
socialLinks: { LinkedIn: "https://www.linkedin.com/in/sascha-jochum/"}
|
||||
organizations: ["foundation"]
|
||||
imgPath: images/people/sascha_jochum.jpg
|
||||
imgPath: sascha_jochum.jpg
|
||||
taxonomies:
|
||||
memberships:
|
||||
[partner]
|
||||
|
||||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
@@ -1,8 +1,8 @@
|
||||
<div class="flex flex-col px-0 sm:px-4 pb-2">
|
||||
<a href="{{post.permalink}}" class="border-0 text-gray-700 hover:!text-gray-700 font-normal text-left">
|
||||
{% set url = '/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath) %}
|
||||
{{url}}
|
||||
<img src="{{url}}" alt="img here" />
|
||||
{% set url2 = get_url(path='/' ~ post.relative_path | replace(from='_', to='-') | replace(from='index.md', to=post.extra.imgPath)) %}
|
||||
<img src="{{url2}}" alt="img here" />
|
||||
<div>
|
||||
<h2 class="text-2xl">{{post.title}}</h2>
|
||||
<div class="text-md text-gray-700 text-left line-clamp-3 text-ellipsis">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="container sm:pxi-0 lg:w-5/6 mx-auto min-h-screen overflow-x-hidden pt-24">
|
||||
<div class="flex flex-row flex-wrap items-start mx-4 sm:mx-0">
|
||||
<div class="w-full md:w-1/6 mx-auto sm:mx-0">
|
||||
<img src="/{{page.extra.imgPath}}" alt="" class="rounded bg-gray-200 w-48 border-2 border-gray-400 mx-auto md:mx-0 g-image g-image--lazy g-image--loaded my-4">
|
||||
<img src="{{page.extra.imgPath}}" alt="" class="rounded bg-gray-200 w-48 border-2 border-gray-400 mx-auto md:mx-0 g-image g-image--lazy g-image--loaded my-4">
|
||||
</div>
|
||||
<div class="w-full md:w-5/6 text-center md:text-left md:pl-8">
|
||||
<div class="flex flex-row items-center">
|
||||
|
||||
Reference in New Issue
Block a user