Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dcsg2900 - Gitlab pages
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fabian Kongelf
dcsg2900 - Gitlab pages
Commits
3367af55
Commit
3367af55
authored
May 18, 2022
by
Fabian Kongelf
Browse files
Options
Downloads
Patches
Plain Diff
Delete index_copy.html
parent
9dd7a356
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
webpage/index_copy.html
+0
-82
0 additions, 82 deletions
webpage/index_copy.html
with
0 additions
and
82 deletions
webpage/index_copy.html
deleted
100644 → 0
+
0
−
82
View file @
9dd7a356
---
layout: default
---
<div
class=
"home"
>
<h1>
{{ site.title }}
</h1>
<p>
{% include_relative about.md %}
</p>
<div>
<h1
class=
"page-heading"
>
Content
</h1>
<ul
class=
"post-list"
>
{% for category in site.categories %}
{% if category[0] == "content" %}
{% for post in category[1] %}
{% if post.categories.size == 1 %}
<li
class=
"cat-element"
>
<a
class=
"post-link"
href=
"{{ post.url | prepend: site.baseurl }}"
>
{{ post.title }}
</a>
</li>
{% endif %}
{% endfor %}
{% else %}
<li
class=
"cat-element"
>
{% if category[1].size == 1 %}
<a
class=
"post-link"
href=
"{{ category[1][0].url | prepend: site.baseurl }}"
>
{{ category | first }}
</a>
{% else %}
<a
class=
"post-link cat-header"
href=
"#"
>
{{ category | first }}
</a>
<ul>
{% for post in category[1] %}
{% if post.categories.size > 2 %}
<!-- hvis den har subcategorier... -->
{% else %}
<li
class=
"cat-element"
>
<a
class=
"post-link"
href=
"{{ post.url | prepend: site.baseurl }}"
>
{{ post.title }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
</li>
{% endif %}
{% if category.child %}
<p>
child: true
</p>
{% else %}
<p>
not child
</p>
{% endif %}
{% endfor %}
</ul>
</div>
<div>
hei
{% assign structur = "" %}
{% for post in site.posts %}
<p>
{{ post.title }}
</p>
{{ post.categories.size }}
{% assign cat = "" %}
{{ post.url }}
{% for category in post.categories %}
{% if category == "content" %}
{% else %}
{% endif %}
{% endfor %}
{% endfor %}
</div>
</div>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment