Skip to content

Commit

Permalink
Documented dynamic-text and added credits for contributions.
Browse files Browse the repository at this point in the history
  • Loading branch information
le4ker committed Oct 5, 2015
1 parent 8d1a113 commit 15dc045
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 2 additions & 0 deletions _posts/2015-06-10-contact-tutorial.markup
Original file line number Diff line number Diff line change
Expand Up @@ -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>
26 changes: 25 additions & 1 deletion _posts/2015-06-24-intro-layout-tutorial.markup
Original file line number Diff line number Diff line change
Expand Up @@ -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: "Where’s 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">
Expand Down
2 changes: 2 additions & 0 deletions _posts/2015-06-25-html-head-tutorial.markup
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 15dc045

Please sign in to comment.