Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
HCI-Development
HCI Theme
Commits
ac904ca5
Commit
ac904ca5
authored
May 14, 2020
by
tron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixes
parent
e6839d0b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
12 deletions
+18
-12
.vscode/settings.json
.vscode/settings.json
+0
-3
_includes/jobs
_includes/jobs
+1
-1
_includes/topics
_includes/topics
+11
-2
_layouts/post.html
_layouts/post.html
+1
-1
_layouts/project.html
_layouts/project.html
+5
-5
No files found.
.vscode/settings.json
deleted
100644 → 0
View file @
e6839d0b
{
"beautify.ignore"
:
[
"assets/css/*.scss"
,
"_layouts/*"
]
}
\ No newline at end of file
_includes/jobs
View file @
ac904ca5
...
...
@@ -4,7 +4,7 @@
{% assign itemlist = '' | split: ',' %}
{% for d in taged %}
{% assign tag = d | remove: '"'| remove: ',,'| remove: "["| remove: "]"%}
{% assign temp = site.jobs | where: "active",true | where: "tags", tag %}
{% assign temp = site.jobs | where: "active",
"
true
"
| where: "tags", tag %}
{% assign itemlist = itemlist | concat: temp | sort: 'date' | reverse %}
{% endfor %}
{% else %}
...
...
_includes/topics
View file @
ac904ca5
...
...
@@ -4,7 +4,11 @@
{% assign itemlist = '' | split: ',' %}
{% for d in taged %}
{% assign tag = d | remove: '"'| remove: ',,'| remove: "["| remove: "]"%}
{% assign temp = site.topics | where: "tags", tag | where: "status",include.status %}
{% if include.status%}
{% assign temp = site.topics | where: "tags", tag | where: "status",include.status %}
{% else %}
{% assign temp = site.topics | where: "tags", tag %}
{% endif %}
{% assign itemlist = itemlist | concat: temp | sort: 'date' | reverse | sort:"put-on-top-of-the-list" | reverse%}
{% endfor %}
{% else %}
...
...
@@ -72,9 +76,14 @@
{% if topic.put-on-top-of-the-list == true %}
{% assign title = title | append: " ★" %}
{% endif %}
{% if include.status%}
{% include detailed-topic class=typeClasses image=topic.image title=title teaser=topic.teaser url=topic.url assigned-to=topic.assigned-to type=typeDescription%}
{% endif %}
{% endfor %}
{% include placeholderBlocks maxItems= include.maxItems itemListLength=itemlist.size hiddenItems=hiddenItems%}
{% if include.status%}
{% include placeholderBlocks maxItems= include.maxItems itemListLength=itemlist.size hiddenItems=hiddenItems%}
{% endif %}
</div>
<!--{% unless include.noToggle %}
<div id="react-placeholder-toggleVisibility"></div>
...
...
_layouts/post.html
View file @
ac904ca5
...
...
@@ -28,5 +28,5 @@ layout: text
{{ content }}
{% if page.tags %}
{% include projects tags=page.tags maxItems=6 %}
{% include projects tags=page.tags maxItems=6
noToggle="true"
%}
{% endif %}
\ No newline at end of file
_layouts/project.html
View file @
ac904ca5
...
...
@@ -6,12 +6,12 @@ layout: text
{{ content | markdownify }}
{% if page.tags %}
{% include news tags=page.tags maxItems=6 headline="
<h2>
News
</h2>
"%}
{% include news tags=page.tags maxItems=6 headline="
<h2>
News
</h2>
"
noToggle=true
%}
<h2>
Theses and projects
</h2>
{% include topics tags=page.tags
maxItems=6
status = "open" headline="
<h3>
Open
</h3>
" %}
{% include topics tags=page.tags
maxItems=6
status = "assigned" headline="
<h3>
Assigned
</h3>
"%}
{% include topics tags=page.tags
maxItems=6
status = "closed" headline="
<h3>
Closed
</h3>
"%}
{% include topics tags=page.tags headline="
<h2>
Theses and projects
</h2>
" %}
{% include topics tags=page.tags status = "open" headline="
<h3>
Open
</h3>
" %}
{% include topics tags=page.tags status = "assigned" headline="
<h3>
Assigned
</h3>
"
%}
{% include topics tags=page.tags status = "closed" headline="
<h3>
Closed
</h3>
"
%}
{% include jobs tags=page.tags maxItems=6 headline="
<h2>
Open positions
</h2>
"%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment