From 15dc0453e7935dee443e698549f003f383c32165 Mon Sep 17 00:00:00 2001 From: Panos Sakkos Date: Tue, 6 Oct 2015 00:32:16 +0200 Subject: [PATCH] Documented dynamic-text and added credits for contributions. --- _posts/2015-06-10-contact-tutorial.markup | 2 ++ .../2015-06-24-intro-layout-tutorial.markup | 26 ++++++++++++++++++- _posts/2015-06-25-html-head-tutorial.markup | 2 ++ 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/_posts/2015-06-10-contact-tutorial.markup b/_posts/2015-06-10-contact-tutorial.markup index 9010371b8..bdd11d5bf 100644 --- a/_posts/2015-06-10-contact-tutorial.markup +++ b/_posts/2015-06-10-contact-tutorial.markup @@ -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. + +Many thanks to @joariasl for this feature! diff --git a/_posts/2015-06-24-intro-layout-tutorial.markup b/_posts/2015-06-24-intro-layout-tutorial.markup index e0888a8dd..43fe5f836 100644 --- a/_posts/2015-06-24-intro-layout-tutorial.markup +++ b/_posts/2015-06-24-intro-layout-tutorial.markup @@ -15,7 +15,31 @@ The intro part of the index page is consisted of three elements:
  • Your image
  • -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: + +
    +##############################
    +# 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?"
    +
    + +Many thanks to @prashantsolanki3 for this feature! + In order to set the background and your image, modify the following variables in _config:
    diff --git a/_posts/2015-06-25-html-head-tutorial.markup b/_posts/2015-06-25-html-head-tutorial.markup
    index ea56d071c..1fa409c89 100644
    --- a/_posts/2015-06-25-html-head-tutorial.markup
    +++ b/_posts/2015-06-25-html-head-tutorial.markup
    @@ -42,3 +42,5 @@ And when you serve the website locally, don't forget to set the baseurl to an em
     
     jekyll serve --baseurl ""
     
    + +Many thanks to @prashantsolanki3 for the language support!