Fixed beautifier
This commit is contained in:
parent
489c0f488f
commit
6bcd6b927b
7 changed files with 13 additions and 22 deletions
|
@ -8,9 +8,7 @@
|
||||||
{% include header.html %}
|
{% include header.html %}
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
<main class="container">
|
<main class="container">{{ content }}</main>
|
||||||
{{ content }}
|
|
||||||
</main>
|
|
||||||
{% include footer.html %}
|
{% include footer.html %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -7,7 +7,5 @@ layout: main
|
||||||
<h2 class="post-title">{{ page.title }}</h2>
|
<h2 class="post-title">{{ page.title }}</h2>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="post-content">
|
<div class="post-content">{{ content }}</div>
|
||||||
{{ content }}
|
|
||||||
</div>
|
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -11,9 +11,7 @@ layout: main
|
||||||
'high-school' %}High school project {% when 'internship' %}Internship {%
|
'high-school' %}High school project {% when 'internship' %}Internship {%
|
||||||
when 'personal' %}Personal project {% endcase %}
|
when 'personal' %}Personal project {% endcase %}
|
||||||
</div>
|
</div>
|
||||||
<div class="languages">
|
<div class="languages">{{ page.languages }}</div>
|
||||||
{{ page.languages }}
|
|
||||||
</div>
|
|
||||||
<div class="authors">
|
<div class="authors">
|
||||||
<h4>Authors:</h4>
|
<h4>Authors:</h4>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -17,7 +17,5 @@ layout: main
|
||||||
</h4>
|
</h4>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="post-content" itemprop="articleBody">
|
<div class="post-content" itemprop="articleBody">{{ content }}</div>
|
||||||
{{ content }}
|
|
||||||
</div>
|
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -85,13 +85,9 @@ categories: linux
|
||||||
if the <code>--force</code> flag is used instead of <code>-f</code>.
|
if the <code>--force</code> flag is used instead of <code>-f</code>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>Let's give execution permissions to the script we have just created:</p>
|
||||||
Let's give execution permissions to the script we have just created:
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<p>{% highlight bash %} # chmod +x /bin/rmAlias {% endhighlight %}</p>
|
||||||
{% highlight bash %} # chmod +x /bin/rmAlias {% endhighlight %}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Restart your shell, and enjoy. If you want to test safely, I suggest trying to
|
Restart your shell, and enjoy. If you want to test safely, I suggest trying to
|
||||||
|
|
|
@ -1,4 +1,9 @@
|
||||||
#!/bin/sh
|
#!/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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -19,9 +19,7 @@ permalink: /portfolio/
|
||||||
'high-school' %}High school project {% when 'internship' %}Internship {%
|
'high-school' %}High school project {% when 'internship' %}Internship {%
|
||||||
when 'personal' %}Personal project {% endcase %}
|
when 'personal' %}Personal project {% endcase %}
|
||||||
</div>
|
</div>
|
||||||
<div class="languages">
|
<div class="languages">{{ p.languages }}</div>
|
||||||
{{ p.languages }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<div class="images">
|
<div class="images">
|
||||||
|
|
Loading…
Reference in a new issue