Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4631

Jekyll page rating calculator with meta from Front Mater area

$
0
0

I am editing include/span with the following code pretend to be as "Jekyll page rating calculator with meta from Front Mater area" but it seems like some syntax missing an extra heading/lines to let calculation to display in left bottom round quotes. Now there is no value

Fragment

See the sampl page

<span class="indexmod">{% assign number_of_words = content | strip_html | number_of_words %}{% assign social = page.facebook | plus: page.instagram %}{% comment %}Two lines for readability, but can be chained on one line{% endcomment %}{% assign Indexmod = social | times: page.age | divided_by: 1000000.0 %}{% assign Indexmod = Indexmod | times: number_of_words | divided_by: 100  %}{% endunless %}</span>

Viewing all articles
Browse latest Browse all 4631

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>