Fixed beautifier

This commit is contained in:
Claudio Maggioni 2021-02-03 13:09:30 +01:00
parent 489c0f488f
commit 6bcd6b927b
7 changed files with 13 additions and 22 deletions

View File

@ -8,9 +8,7 @@
{% include header.html %}
</nav>
</header>
<main class="container">
{{ content }}
</main>
<main class="container">{{ content }}</main>
{% include footer.html %}
</body>
</html>

View File

@ -7,7 +7,5 @@ layout: main
<h2 class="post-title">{{ page.title }}</h2>
</header>
<div class="post-content">
{{ content }}
</div>
<div class="post-content">{{ content }}</div>
</article>

View File

@ -11,9 +11,7 @@ layout: main
'high-school' %}High school project {% when 'internship' %}Internship {%
when 'personal' %}Personal project {% endcase %}
</div>
<div class="languages">
{{ page.languages }}
</div>
<div class="languages">{{ page.languages }}</div>
<div class="authors">
<h4>Authors:</h4>
<ul>

View File

@ -17,7 +17,5 @@ layout: main
</h4>
</header>
<div class="post-content" itemprop="articleBody">
{{ content }}
</div>
<div class="post-content" itemprop="articleBody">{{ content }}</div>
</article>

View File

@ -85,13 +85,9 @@ categories: linux
if the <code>--force</code> flag is used instead of <code>-f</code>.
</p>
<p>
Let's give execution permissions to the script we have just created:
</p>
<p>Let's give execution permissions to the script we have just created:</p>
<p>
{% highlight bash %} # chmod +x /bin/rmAlias {% endhighlight %}
</p>
<p>{% highlight bash %} # chmod +x /bin/rmAlias {% endhighlight %}</p>
<p>
Restart your shell, and enjoy. If you want to test safely, I suggest trying to

View File

@ -1,4 +1,9 @@
#!/bin/sh
$(npm bin)/prettier --write $(git rev-parse --show-toplevel)
files="`git diff --staged --name-only --diff-filter=ACMR | tr \"\\n\" \" \"`"
for f in $files; do
$(npm bin)/prettier --write "$f"
git add -f "$f"
done

View File

@ -19,9 +19,7 @@ permalink: /portfolio/
'high-school' %}High school project {% when 'internship' %}Internship {%
when 'personal' %}Personal project {% endcase %}
</div>
<div class="languages">
{{ p.languages }}
</div>
<div class="languages">{{ p.languages }}</div>
</div>
<div class="description">
<div class="images">