Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
6
6sem-practice
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Исайчев Данила Олегович
6sem-practice
Commits
48fe83d9
Commit
48fe83d9
authored
Mar 09, 2022
by
Исайчев Данила Олегович
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
86a28c65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
icon-block-six.html
icon-block-six/icon-block-six.html
+36
-0
No files found.
icon-block-six/icon-block-six.html
0 → 100644
View file @
48fe83d9
{{ $filename := add (add "shortcodes/icon-block-six-" (.Get "number")) ".json" }}
{{ with .Site.GetPage .Page.File.Path}}
{{ $resource := (.Resources.GetMatch $filename).RelPermalink }}
{{ $fields := getJSON "content" $resource }}
<div
class=
"row justify-content-lg-between"
>
{{ range $fields }}
<div
class=
"col-sm-6 col-lg-5 mb-5"
>
<div
class=
"d-flex"
>
<div
class=
"flex-shrink-0"
>
<i
class=
"{{ .type }} fs-1 text-dark"
></i>
</div>
<div
class=
"flex-grow-1 ms-5"
>
{{ if and (ne .title nil) (ne .title "") }}
<h5>
{{ .title }}
</h5>
{{ end }}
{{ if and (ne .content nil) (ne .content "") }}
<p>
{{ .content }}
</p>
{{ end }}
</div>
</div>
</div>
{{ end }}
</div>
{{ end }}
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