Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
HCI Theme
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HCI-Development
HCI Theme
Commits
e6839d0b
Commit
e6839d0b
authored
Apr 16, 2020
by
tron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
news /project fix
parent
c39eafec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
_includes/news
_includes/news
+0
-1
_includes/projects
_includes/projects
+3
-3
No files found.
_includes/news
View file @
e6839d0b
<!-- Filter active posts. Further filter tags when used. -->
{% if include.tags %}
{{include.tags}}
{% assign taged = include.tags | remove: " " | split: "," %}
{% assign itemlist = '' | split: ',' %}
{% for d in taged %}
...
...
_includes/projects
View file @
e6839d0b
...
...
@@ -4,8 +4,8 @@
{% assign itemlist = '' | split: ',' %}
{% for d in taged %}
{% assign tag = d | remove: '"'| remove: ',,'| remove: "["| remove: "]"%}
{% assign temp = site.projects | where:
active,true | where: "tag
", tag %}
{% assign itemlist = itemlist | concat: temp
| sort: 'date' | reverse
%}
{% assign temp = site.projects | where:
"tags
", tag %}
{% assign itemlist = itemlist | concat: temp %}
{% endfor %}
{% else %}
{% assign itemlist = site.projects | where: active,true | sort: 'date' | reverse %}
...
...
@@ -18,4 +18,4 @@
## Projects
{% endif %}
{% include list-blocks items=itemlist maxItems=include.maxItems noToggle=include.noToggle hardMax=include.hardMax logo=include.logo%}
{% endif %}
\ No newline at end of file
{% endif %}
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