How to get the taxonomy term for the current page

I am trying to show list of items which has similar taxonomy, like categories taxonomy page has term “technology”. how to list them

this is what I have tried.

  {{$term:= .Params.categories }}
      <p>{{ $term }}</p>
      {{ $taxonomy := index .Site.Taxonomies.categories $term }}
      {{ range $taxonomy.Pages}}
        <div class="col-lg-4 col-md-6 blog-card has-border">
          {{ .Render "article" }}
        {{ end }}

I am not sure how to get the $term getting null for .Params.categories.

any help is appreciated.

Have a look at Related Content.

site configuration

category = 'categories'

  includeNewer = true
    name = 'categories'
    weight = 100


{{ with site.RegularPages.Related . }}
      {{ range .ByTitle }}
        <li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
      {{ end }}
{{ end }}