Skip to content

Commit

Permalink
added event description image
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignaraj-pai committed Aug 10, 2024
1 parent a3e227f commit 69f9343
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion _data/events/2022-02-05-ras-expert-talk.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"thumbnails": ["ras_inaugration_expert_talk.jpeg"],
"date": "5th February 2022",
"sig": "All",
"description": "We welcome everyone to attend the Robotics and Automation Society Student Chapter Inauguration! The Inauguration event would be followed by an expert talk by Mr. Nagarakshith M Sreenivasulu, NITK Alumni and Autonomy Engineer at Brain Corp."
"description": "We welcome everyone to attend the Robotics and Automation Society Student Chapter Inauguration! The Inauguration event would be followed by an expert talk by Mr. Nagarakshith M Sreenivasulu, NITK Alumni and Autonomy Engineer at Brain Corp.",
"description_images": ["nagarakshith-talk.jpg"],
}
Binary file added assets/img/events/nagarakshith-talk.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion events.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,15 @@ <h3 class="modal-title" id="exampleModalLongTitle">{{event[1].title}}</h3>
{%if event[1].links[0].url%}
<a href="{{event[1].links[0].url}}" class="btn btn-primary">{{event[1].links[0].title}}</a>
{%endif%}

{%if event[1].description_images %}
<br>
<h4>
Images
</h4>
{% for img_name in event[1].description_images %}
<img src="/assets/img/events/{{img_name}}" alt="{{event[1].title}}">
{% endfor %}
{%endif%}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
Expand Down

0 comments on commit 69f9343

Please sign in to comment.