HUGO

Copy and Paste via Shortcode

Hi,

Is it possible to copy and paste the specific part inside content to another one via shortcode ?

authorprofile.md :

##TitleA
Lorem ipsum bla bla bla

##TitleB
Lorem ipsum lorem ipsum lorem ipsum

engineerprofile.md :

{{<copy TitleA>}}{{</copy>}}

I would like to copy below part from authorprofile.md to engineerprofile.md. I mean when I run the above shortcode, below parts needs to be copy and paste here.

##TitleA
Lorem ipsum bla bla bla

Have a look at those 2 shortcodes from the doccdock theme.

@divinerites,

Appreciate, this is totally what I am looking for

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.