Same layout for different content types

take the solution from here. just adapt the layout and target

hugo.toml
[[cascade]]
    layout = 'posts'
  [cascade._target]
    path = '/links/**'
    kind = 'page'