Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jekyll-elixir-theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixir
jekyll-elixir-theme
Commits
7527ba03
Commit
7527ba03
authored
4 years ago
by
Jacek Lebioda
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-news-truncation' into 'develop'
feat: strip html and use word truncation See merge request
!43
parents
7f8b8967
99a840e1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_layouts/paginated_left_col.html
+1
-1
1 addition, 1 deletion
_layouts/paginated_left_col.html
elixir-theme.gemspec
+1
-1
1 addition, 1 deletion
elixir-theme.gemspec
with
2 additions
and
2 deletions
_layouts/paginated_left_col.html
+
1
−
1
View file @
7527ba03
...
...
@@ -33,7 +33,7 @@ layout: default
<span
class=
"post-date"
>
Published on: {{ post.date | date: '%B %d, %Y' }}
</span>
<div
class=
"content"
>
{{ post.content |
truncate: 220
}}
{{ post.content |
strip_html | truncatewords: 52
}}
</div>
</div>
{% endfor %}
...
...
This diff is collapsed.
Click to expand it.
elixir-theme.gemspec
+
1
−
1
View file @
7527ba03
...
...
@@ -2,7 +2,7 @@
Gem
::
Specification
.
new
do
|
spec
|
spec
.
name
=
"jekyll-elixir-theme"
spec
.
version
=
"0.9.2
4
"
spec
.
version
=
"0.9.2
5
"
spec
.
authors
=
[
"jacek.lebioda"
]
spec
.
email
=
[
"jacek.lebioda@uni.lu"
]
...
...
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