Documented dynamic-text and added credits for contributions.

This commit is contained in:
Panos Sakkos 2015-10-06 00:32:16 +02:00
parent 8d1a113942
commit 15dc0453e7
3 changed files with 29 additions and 1 deletions

View file

@ -17,3 +17,5 @@ You can modify its text from the contact.html file.
Then in the _config.yml set the email variable to your email.
Don't be afraid of Email Harvesting, write your email properly, and the page will perform javascript obfuscation.
<small>Many thanks to <a href="https://github.com/joariasl" target="_blank">@joariasl</a> for this feature!</small>

View file

@ -15,7 +15,31 @@ The intro part of the index page is consisted of three elements:
<li>Your image</li>
</ol>
You can modify its text from the index.html file.
Your text can be either dynamically typed when the visitor is viewing your index page, or it can be fixed.
If you want to disable the dynamic typing, set the site.dynamic-typing to false and type your intro text in the index.html file.
You can add your desired dynamically typed text in the lines list:
<pre style="text-align: left">
##############################
# Dynamic Text on the header #
##############################
dynamic-typing: True
shuffle: True # Shuffle the lines.
loop: True
loop-count: False # Set False for infinite loop, or set any number for finite loop.
type-speed: 10 # Default 10
start-delay: 200 # Default 200
delete-delay: 5000 # Default 5000
lines: # You can add HTML Tags in the Text
- text: "The lower you fall, the higher you'll fly."
- text: "Wheres your will to be weird?"
</pre>
<small>Many thanks to <a href="https://github.com/prashantsolanki3" target="_blank">@prashantsolanki3</a> for this feature!</small>
In order to set the background and your image, modify the following variables in _config:
<pre style="text-align: left">

View file

@ -42,3 +42,5 @@ And when you serve the website locally, don't forget to set the baseurl to an em
<pre style="text-align: left">
jekyll serve --baseurl ""
</pre>
<small>Many thanks to <a href="https://github.com/prashantsolanki3" target="_blank">@prashantsolanki3</a> for the language support!</small>