Jekyll ist ein einfacher Blog-basierter, statischer Site-Generator für persönliche Projekte. Wie füge ich ein Skript-Tag in ein solches Ruby-Projekt ein?Wie Skript-Tag in Jekyll hinzufügen?
Meine index.html sieht wie folgt aus:
---
layout: default
---
<div class="home">
<h1 class="page-heading">Posts</h1>
<ul class="post-list">
{% for post in site.posts %}
<li>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
</div>
die Ordnerstruktur besteht auch aus Dateien und Ordner wie folgt aus: about.md _config.yml css feed.xml _includes index.html _layouts _posts _sass _site
Ich versuche, die jekyll Plattform für statische Web-Seiten zu erkunden.