Skip to content

Commit

Permalink
use timestamp random. relates ot #10
Browse files Browse the repository at this point in the history
  • Loading branch information
MortenHofft committed Mar 5, 2024
1 parent ce117e6 commit edcbd54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/blocks/stories.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% assign randomId = 10 | random_hex %}
{% assign randomId = "now" | date: "%N" %}
{% assign id = include.id | default: include.content.id | default: randomId %}
{% assign title = include.title | default: include.content.title %}
{% assign useSiteLinkWhenPossible = include.useSiteLinkWhenPossible | default: include.content.useSiteLinkWhenPossible | default: false %}
Expand Down

0 comments on commit edcbd54

Please sign in to comment.