209058b84a
Passing parameters to includes
14 lines
583 B
HTML
14 lines
583 B
HTML
{% comment %}
|
|
Remove the line number of the code snippet.
|
|
v2.2
|
|
https://github.com/cotes2020/jekyll-theme-chirpy
|
|
© 2020 Cotes Chung
|
|
Published under the MIT License
|
|
{% endcomment %}
|
|
|
|
{% assign content = include.content %}
|
|
|
|
{% if content contains '<td class="rouge-gutter gl"><pre class="lineno">' %}
|
|
{% assign content = content | replace: '<td class="rouge-gutter gl"><pre class="lineno">', '<!-- <td class="rouge-gutter gl"><pre class="lineno">'%}
|
|
{% assign content = content | replace: '</td><td class="rouge-code">', '</td> --><td class="rouge-code">' %}
|
|
{% endif %}
|